diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2006-09-08 14:22:21 -0700 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-09-24 13:50:45 -0700 |
commit | 349457ccf2592c14bdf13b6706170ae2e94931b1 (patch) | |
tree | 3670945b5a62617d38cf1f317487387032d3da4d /ipc | |
parent | 1390334b4c697b7588d5661fcf6acaeec409cf4c (diff) | |
download | op-kernel-dev-349457ccf2592c14bdf13b6706170ae2e94931b1.zip op-kernel-dev-349457ccf2592c14bdf13b6706170ae2e94931b1.tar.gz |
[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 <mark.fasheh@oracle.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions