ocfs2: Improve rename locking
authorJan Kara <jack@suse.cz>
Thu, 21 Feb 2008 17:00:00 +0000 (18:00 +0100)
committerMark Fasheh <mfasheh@suse.com>
Fri, 18 Apr 2008 15:56:11 +0000 (08:56 -0700)
commit5dabd69515765156605b09261abf969236a77803
tree4a44a7554c9513f012c4140793d1620001809999
parent58dadcdbc2584db050969f9781727fc5a3f618db
ocfs2: Improve rename locking

ocfs2_rename() was being too aggressive with the rename lock - we only need
it for certain forms of directory rename.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/namei.c