From: Mark Fasheh Date: Fri, 8 Sep 2006 21:22:21 +0000 (-0700) Subject: [PATCH] Allow file systems to manually d_move() inside of ->rename() X-Git-Tag: v2.6.19-rc1~1259^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=349457ccf2592c14bdf13b6706170ae2e94931b1;p=pandora-kernel.git [PATCH] Allow file systems to manually d_move() inside of ->rename() Some file systems want to manually d_move() the dentries involved in a rename. We can do this by making use of the FS_ODD_RENAME flag if we just have nfs_rename() unconditionally do the d_move(). While there, we rename the flag to be more descriptive. OCFS2 uses this to protect that part of the rename operation with a cluster lock. Signed-off-by: Mark Fasheh Cc: Trond Myklebust Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton --- Reading git-diff-tree failed