diff options
author | Sebastian Lackner | 2017-11-22 03:29:01 +0100 |
---|---|---|
committer | rfjakob | 2017-11-22 23:42:49 +0100 |
commit | f80f19f5891f5cb00eb6c66d8a95aaf9d3e8d60a (patch) | |
tree | 265c7baa19dc485969d9f63595d35382a1b58e21 /internal/fusefrontend_reverse/reverse_longnames.go | |
parent | c547673529cb4934ab885081f5682e85aa994f79 (diff) |
fusefrontend_reverse: Add a missing Close() call
Diffstat (limited to 'internal/fusefrontend_reverse/reverse_longnames.go')
-rw-r--r-- | internal/fusefrontend_reverse/reverse_longnames.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/fusefrontend_reverse/reverse_longnames.go b/internal/fusefrontend_reverse/reverse_longnames.go index 3bfe3af..212d493 100644 --- a/internal/fusefrontend_reverse/reverse_longnames.go +++ b/internal/fusefrontend_reverse/reverse_longnames.go @@ -63,6 +63,7 @@ func (rfs *ReverseFS) findLongnameParent(dir string, dirIV []byte, longname stri return "", err } dirEntries, err := dirfd.Readdirnames(-1) + dirfd.Close() if err != nil { tlog.Warn.Printf("findLongnameParent: Readdirnames failed: %v\n", err) return "", err |