aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorSebastian Lackner2017-11-22 03:29:01 +0100
committerrfjakob2017-11-22 23:42:49 +0100
commitf80f19f5891f5cb00eb6c66d8a95aaf9d3e8d60a (patch)
tree265c7baa19dc485969d9f63595d35382a1b58e21 /internal
parentc547673529cb4934ab885081f5682e85aa994f79 (diff)
fusefrontend_reverse: Add a missing Close() call
Diffstat (limited to 'internal')
-rw-r--r--internal/fusefrontend_reverse/reverse_longnames.go1
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