jbd2: fix /proc/fs/jbd2/<dev> when using an external journal
authoryangsheng <sheng.yang@oracle.com>
Thu, 18 Nov 2010 02:46:26 +0000 (21:46 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 18 Nov 2010 02:46:26 +0000 (21:46 -0500)
commit0587aa3d11f9769a301b21bff2c3ed8365606b8d
treec02512f57fc11b37da4764c10a5e2ef42cc5ecbe
parentf4c8cc652d9f70680dd91be60a7a455040d0a282
jbd2: fix /proc/fs/jbd2/<dev> when using an external journal

In jbd2_journal_init_dev(), we need make sure the journal structure is
fully initialzied before calling jbd2_stats_proc_init().

Reviewed-by: Andreas Dilger <andreas.dilger@oracle.com>
Signed-off-by: yangsheng <sheng.yang@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/journal.c