>From Dominique Martinet <dominique.marti...@cea.fr>:

Dominique Martinet has uploaded a new change for review. ( 
https://review.gerrithub.io/346241


Change subject: MDCACHE: rename needs to update parent pointer for directory
......................................................................

MDCACHE: rename needs to update parent pointer for directory

If move a directory to another parent, we need to update its parent key.

This fixes this pattern for 9p:
$ mkdir -p a/b/c a/d
$ touch a/b/c/d
$ mv a/b/c a/d
$ rm -rf a/b
$ find a
a
a/d
a/d/c

(note the lack of a/d/c/d; also ls -la in a/d/c would not list . or ..,
it fails earlier)

Change-Id: I6898002e570c09652b754438790b479ae4732f18
Signed-off-by: Dominique Martinet <dominique.marti...@cea.fr>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c
1 file changed, 15 insertions(+), 0 deletions(-)



  git pull ssh://review.gerrithub.io:29419/ffilz/nfs-ganesha 
refs/changes/41/346241/1
-- 
To view, visit https://review.gerrithub.io/346241
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6898002e570c09652b754438790b479ae4732f18
Gerrit-Change-Number: 346241
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

Reply via email to