fusefrontend_reverse: Add a missing Close() call

This commit is contained in:
Sebastian Lackner 2017-11-22 03:29:01 +01:00 committed by rfjakob
parent c547673529
commit f80f19f589

View File

@ -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