All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Peterson <rpeterso@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, 07 Mar 2007 16:25:15 -0600	[thread overview]
Message-ID: <45EF3BCB.1000606@redhat.com> (raw)
In-Reply-To: <20070307220909.GA22561@korben.rdu.redhat.com>

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);
>  }
ACK

Bob Peterson
Red Hat Cluster Suite



  reply	other threads:[~2007-03-07 22:25 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 [this message]
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=45EF3BCB.1000606@redhat.com \
    --to=rpeterso@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.