From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abhijith Das Date: Thu, 23 Aug 2007 13:33:01 -0500 Subject: [Cluster-devel] [PATCH][GFS2] bz 253921: GFS2: panic after can't parse mount arguments Message-ID: <46CDD2DD.80500@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: bz253921.patch Type: text/x-patch Size: 438 bytes Desc: not available URL: