Ocfs2: Re-access the journal after ocfs2_insert_extent() in dxdir codes.
authorTristan Ye <tristan.ye@oracle.com>
Wed, 8 Sep 2010 09:12:38 +0000 (17:12 +0800)
committerJoel Becker <joel.becker@oracle.com>
Fri, 10 Sep 2010 16:19:11 +0000 (09:19 -0700)
commit0f4da216b8c3c35c90ecd18e1899c6f125957c2b
treef51e02f001997b136a9c50c9cea007ae82b8ffc1
parent07eaac9438b13ec0b863111698b91ccec8f3b8d4
Ocfs2: Re-access the journal after ocfs2_insert_extent() in dxdir codes.

In ocfs2_dx_dir_rebalance(), we need to rejournal_acess the blocks after
calling ocfs2_insert_extent() since growing an extent tree may trigger
ocfs2_extend_trans(), which makes previous journal_access meaningless.

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