From: Steven Whitehouse <swhiteho@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] GFS2: Cocci spatch "ptr_ret.spatch"
Date: Mon, 03 Jun 2013 09:55:54 +0100 [thread overview]
Message-ID: <1370249754.2785.0.camel@menhir> (raw)
In-Reply-To: <1370080363.29224.24.camel@localhost.localdomain>
Hi,
Now in the GFS2 -nmw git tree. Thanks,
Steve.
On Sat, 2013-06-01 at 11:52 +0200, Thomas Meyer wrote:
> Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
> ---
>
> diff -u -p a/fs/gfs2/inode.c b/fs/gfs2/inode.c
> --- a/fs/gfs2/inode.c
> +++ b/fs/gfs2/inode.c
> @@ -587,7 +587,7 @@ static int gfs2_create_inode(struct inod
> inode = gfs2_lookupi(dir, &dentry->d_name, 0);
> gfs2_glock_dq_uninit(ghs);
> d_instantiate(dentry, inode);
> - return IS_ERR(inode) ? PTR_ERR(inode) : 0;
> + return PTR_RET(inode);
> }
> if (error)
> goto fail_gunlock;
>
>
prev parent reply other threads:[~2013-06-03 8:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-01 9:52 [Cluster-devel] [PATCH] GFS2: Cocci spatch "ptr_ret.spatch" Thomas Meyer
2013-06-03 8:55 ` 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=1370249754.2785.0.camel@menhir \
--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).