From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Whitehouse Date: Fri, 24 Aug 2007 08:29:11 +0100 Subject: [Cluster-devel] Re: [PATCH][GFS2] bz 253921: GFS2: panic after can't parse mount arguments In-Reply-To: <46CDD2DD.80500@redhat.com> References: <46CDD2DD.80500@redhat.com> Message-ID: <1187940551.8765.955.camel@quoit> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, On Thu, 2007-08-23 at 13:33 -0500, Abhijith Das wrote: > 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 Now in the -nmw git tree, thanks, Steve.