]> err.no Git - linux-2.6/commit
ext4: Set journal pointer to NULL when journal is released
authorJan Kara <jack@suse.cz>
Fri, 11 Jul 2008 23:27:31 +0000 (19:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 11 Jul 2008 23:27:31 +0000 (19:27 -0400)
commit47b4a50bebfd34b5e1fa2a9c673c8f31fa231cc1
treedf382e97cdc28fc231104b8d19cdcfc3099b9d68
parent07031431072ece801d53d2c03d5e5bb21f4f64a4
ext4: Set journal pointer to NULL when journal is released

Set sbi->s_journal to NULL after we call journal_destroy(). This
will be later needed because after journal_destroy() is called,
ext4_clear_inode() can still be called for some inodes (e.g. root
inode) and we'll need to detect there that journal doesn't exists
anymore.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c