[Cluster-devel] [PATCH][GFS2] bz 253921: GFS2: panic after can't parse mount arguments

Abhijith Das adas at redhat.com
Thu Aug 23 18:33:01 UTC 2007


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 <adas at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bz253921.patch
Type: text/x-patch
Size: 438 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20070823/a827bb8d/attachment.bin>


More information about the Cluster-devel mailing list