summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Lackner2019-01-03 17:52:08 +0100
committerrfjakob2019-01-03 18:24:05 +0100
commit885a341df65f9a1f312e3b08576528583b649eee (patch)
tree6ce7736a52044bb76671809e884346861383d0de
parent61241b05889bda6e70446eab571f138d5d6f6c20 (diff)
fusefrontend: Do not Clear cache at end of Rmdir function.
We already do 'defer fs.dirCache.Clear()', so this is no longer required.
-rw-r--r--internal/fusefrontend/fs_dir.go2
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
}