From: Steven Whitehouse <swhiteho@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [GFS2] fix bz 231369, gfs2 will oops if you specify an invalid mount option
Date: Thu, 08 Mar 2007 09:34:17 +0000 [thread overview]
Message-ID: <1173346457.32601.0.camel@quoit.chygwyn.com> (raw)
In-Reply-To: <20070307220909.GA22561@korben.rdu.redhat.com>
Hi,
Now in the gfs2 -nmw git tree. Thanks,
Steve.
On Wed, 2007-03-07 at 17:09 -0500, Josef Whiter wrote:
> Hello,
>
> If you specify an invalid mount option when trying to mount a gfs2 filesystem,
> gfs2 will oops. The attached patch resolves this problem.
>
> Signed-off-by: Josef Whiter <jwhiter@redhat.com>
>
>
> --- gfs2-2.6-nmw/fs/gfs2/glock.c.josef 2007-03-07 17:05:39.000000000 -0500
> +++ gfs2-2.6-nmw/fs/gfs2/glock.c 2007-03-07 17:06:13.000000000 -0500
> @@ -2217,7 +2217,7 @@ int gfs2_create_debugfs_file(struct gfs2
>
> void gfs2_delete_debugfs_file(struct gfs2_sbd *sdp)
> {
> - if (sdp->debugfs_dentry)
> + if (sdp && sdp->debugfs_dentry)
> debugfs_remove(sdp->debugfs_dentry);
> }
>
>
prev parent reply other threads:[~2007-03-08 9:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-07 22:09 [Cluster-devel] [GFS2] fix bz 231369, gfs2 will oops if you specify an invalid mount option Josef Whiter
2007-03-07 22:25 ` Robert Peterson
2007-03-08 9:34 ` Steven Whitehouse [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1173346457.32601.0.camel@quoit.chygwyn.com \
--to=swhiteho@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).