ocfs2: Don't oops in ocfs2_kill_sb on a failed mount
authorJan Kara <jack@suse.cz>
Thu, 30 Jul 2009 15:01:53 +0000 (17:01 +0200)
committerJoel Becker <joel.becker@oracle.com>
Mon, 17 Aug 2009 21:32:24 +0000 (14:32 -0700)
commit5fd131893793567c361ae64cbeb28a2a753bbe35
tree962a79225308d855ee7b1d27e5c49864af78e108
parent60e2ec48665b8495360ca4a6004c5cd52beb2bc1
ocfs2: Don't oops in ocfs2_kill_sb on a failed mount

If we fail to mount the filesystem, we have to be careful not to dereference
uninitialized structures in ocfs2_kill_sb.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/super.c