ocfs2: Rename cleanups
authorMark Fasheh <mark.fasheh@oracle.com>
Wed, 12 Sep 2007 00:21:56 +0000 (17:21 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 12 Oct 2007 18:54:38 +0000 (11:54 -0700)
ocfs2_rename() does direct manipulation of the dirent it's gotten back from
a directory search. Wrap this manipulation inside of a function so that we
can transparently change directory update behavior in the future. As an
added bonus, this gets rid of an ugly macro.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Reviewed-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dir.c
fs/ocfs2/dir.h
fs/ocfs2/namei.c

diff --cc fs/ocfs2/dir.c
Simple merge
diff --cc fs/ocfs2/dir.h
Simple merge
Simple merge