diff options
author | Sebastian Lackner | 2019-01-03 17:52:08 +0100 |
---|---|---|
committer | rfjakob | 2019-01-03 18:24:05 +0100 |
commit | 885a341df65f9a1f312e3b08576528583b649eee (patch) | |
tree | 6ce7736a52044bb76671809e884346861383d0de /internal/fusefrontend/fs_dir.go | |
parent | 61241b05889bda6e70446eab571f138d5d6f6c20 (diff) |
fusefrontend: Do not Clear cache at end of Rmdir function.
We already do 'defer fs.dirCache.Clear()', so this is no longer required.
Diffstat (limited to 'internal/fusefrontend/fs_dir.go')
-rw-r--r-- | internal/fusefrontend/fs_dir.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/fusefrontend/fs_dir.go b/internal/fusefrontend/fs_dir.go index 3c71e45..320e49f 100644 --- a/internal/fusefrontend/fs_dir.go +++ b/internal/fusefrontend/fs_dir.go @@ -252,8 +252,6 @@ retry: if nametransform.IsLongContent(cName) { nametransform.DeleteLongNameAt(parentDirFd, cName) } - // The now-deleted directory may have been in the dirCache. Clear it. - fs.dirCache.Clear() return fuse.OK } |