>From Dominique Martinet <dominique.marti...@cea.fr>:
Dominique Martinet has uploaded a new change for review. (
https://review.gerrithub.io/346324
Change subject: MDCACHE: only remove cached entry on unlink on success
......................................................................
MDCACHE: only remove cached entry on unlink on success
If the unlink failed, we will end up with an incomplete parent directory
in cache.
This fixes this pattern for 9p:
$ mkdir -p foo/bar/baz
$ rmdir foo/bar
rmdir: failed to remove 'foo/bar': Directory not empty
$ ls -a foo
. ..
(note no bar)
Change-Id: Ifc5d2d3806979010fc38a1b3d6c8447308c155d9
Signed-off-by: Dominique Martinet <dominique.marti...@cea.fr>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c
1 file changed, 4 insertions(+), 5 deletions(-)
git pull ssh://review.gerrithub.io:29419/ffilz/nfs-ganesha
refs/changes/24/346324/1
--
To view, visit https://review.gerrithub.io/346324
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc5d2d3806979010fc38a1b3d6c8447308c155d9
Gerrit-Change-Number: 346324
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: Dominique Martinet <dominique.marti...@cea.fr>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel