* [Cluster-devel] [PATCH][GFS2] bz 253921: GFS2: panic after can't parse mount arguments
@ 2007-08-23 18:33 Abhijith Das
2007-08-24 7:29 ` [Cluster-devel] " Steven Whitehouse
0 siblings, 1 reply; 2+ messages in thread
From: Abhijith Das @ 2007-08-23 18:33 UTC (permalink / raw)
To: cluster-devel.redhat.com
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@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>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Cluster-devel] Re: [PATCH][GFS2] bz 253921: GFS2: panic after can't parse mount arguments
2007-08-23 18:33 [Cluster-devel] [PATCH][GFS2] bz 253921: GFS2: panic after can't parse mount arguments Abhijith Das
@ 2007-08-24 7:29 ` Steven Whitehouse
0 siblings, 0 replies; 2+ messages in thread
From: Steven Whitehouse @ 2007-08-24 7:29 UTC (permalink / raw)
To: cluster-devel.redhat.com
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 <adas@redhat.com>
Now in the -nmw git tree, thanks,
Steve.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-24 7:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-23 18:33 [Cluster-devel] [PATCH][GFS2] bz 253921: GFS2: panic after can't parse mount arguments Abhijith Das
2007-08-24 7:29 ` [Cluster-devel] " Steven Whitehouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).