Ocfs2: Journaling i_flags and i_orphaned_slot when adding inode to orphan dir.
authorTristan Ye <tristan.ye@oracle.com>
Fri, 19 Mar 2010 01:21:09 +0000 (09:21 +0800)
committerJoel Becker <joel.becker@oracle.com>
Wed, 24 Mar 2010 01:22:51 +0000 (18:22 -0700)
Currently, some callers were missing to journal the dirty inode after
adding it to orphan dir.

Now we're going to journal such modifications within the ocfs2_orphan_add()
itself, It's safe to do so, though some existing caller may duplicate this,
and it makes the logic look more straightforward anyway.

Signed-off-by: Tristan Ye <tristan.ye@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/namei.c

Simple merge