cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Steven Whitehouse <swhiteho@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Re: [PATCH] gfs2: fixed a NULL pointer assignment BUG
Date: Wed, 15 Aug 2007 17:07:13 +0100	[thread overview]
Message-ID: <1187194033.8765.865.camel@quoit> (raw)
In-Reply-To: <1187193284541-git-send-email-crquan@gmail.com>

Hi,

Now in the GFS2 -nmw git tree. Thanks,

Steve.

On Wed, 2007-08-15 at 23:54 +0800, Denis Cheng wrote:
> Signed-off-by: Denis Cheng <crquan@gmail.com>
> ---
>  fs/gfs2/ops_fstype.c |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
> index cf5aa50..67e2d43 100644
> --- a/fs/gfs2/ops_fstype.c
> +++ b/fs/gfs2/ops_fstype.c
> @@ -301,8 +301,9 @@ static int init_sb(struct gfs2_sbd *sdp, int silent, int undo)
>  		fs_err(sdp, "can't get root dentry\n");
>  		error = -ENOMEM;
>  		iput(inode);
> -	}
> -	sb->s_root->d_op = &gfs2_dops;
> +	} else
> +		sb->s_root->d_op = &gfs2_dops;
> +	
>  out:
>  	gfs2_glock_dq_uninit(&sb_gh);
>  	return error;



      reply	other threads:[~2007-08-15 16:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15 15:54 [Cluster-devel] [PATCH] gfs2: fixed a NULL pointer assignment BUG Denis Cheng
2007-08-15 16:07 ` 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=1187194033.8765.865.camel@quoit \
    --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).