]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit87b06341b5afa16d1c39b5a12c90e0a7870911ab
tree22f3cca50115d7d7c404fd65f87b8ab71e09ce13
parent4635a48955f0f06baff00dbe7ad66315ed55f49a
Ocfs2: Journaling i_flags and i_orphaned_slot when adding inode to orphan dir.

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