fusefrontend: Do not Clear cache at end of Rmdir function.

We already do 'defer fs.dirCache.Clear()', so this is no longer required.
This commit is contained in:
Sebastian Lackner 2019-01-03 17:52:08 +01:00 committed by rfjakob
parent 61241b0588
commit 885a341df6

View File

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