From: Abhijith Das Date: Thu, 23 Aug 2007 18:33:01 +0000 (-0500) Subject: [GFS2] panic after can't parse mount arguments X-Git-Tag: v2.6.24-rc1~1405^2~22 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1e2777d4f419a865ddccdb9b3412021d0e4de51;p=pandora-kernel.git [GFS2] panic after can't parse mount arguments When you try to mount gfs2 with -o garbage, the mount fails and the gfs2 superblock is deallocated and becomes NULL. The vfs comes around later on and calls gfs2_kill_sb. At this point the hidden gfs2 superblock pointer (sb->s_fs_info) is NULL and dereferencing it through gfs2_meta_syncfs causes the panic. (the other function call to gfs2_delete_debugfs_file() succeeds because this function already checks for a NULL pointer) Signed-off-by: Abhijith Das Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed