From: Josef Whiter <jwhiter@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: Wed, 7 Mar 2007 17:09:10 -0500 [thread overview]
Message-ID: <20070307220909.GA22561@korben.rdu.redhat.com> (raw)
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);
}
next reply other threads:[~2007-03-07 22:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-07 22:09 Josef Whiter [this message]
2007-03-07 22:25 ` [Cluster-devel] [GFS2] fix bz 231369, gfs2 will oops if you specify an invalid mount option Robert Peterson
2007-03-08 9:34 ` Steven Whitehouse
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=20070307220909.GA22561@korben.rdu.redhat.com \
--to=jwhiter@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).