From: "Xu, Yanfei" <yanfei.xu@windriver.com>
To: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] userfaultfd: avoid the duplicated release for userfaultfd_ctx
Date: Mon, 20 Jul 2020 09:34:13 +0800 [thread overview]
Message-ID: <021ffaaa-daa4-8d80-c5bd-3a6c816d4703@windriver.com> (raw)
In-Reply-To: <20200719165746.GJ2786714@ZenIV.linux.org.uk>
On 7/20/20 12:57 AM, Al Viro wrote:
> On Sun, Jul 19, 2020 at 09:58:34PM +0800, Xu, Yanfei wrote:
>> ping Al Viro
>>
>> Could you please help to review this patch? Thanks a lot.
>
> That's -next, right? As for the patch itself... Frankly,
Yes, it's -next.
> Daniel's patch looks seriously wrong.
Get it.
Regards,
Yanfei
> * why has O_CLOEXEC been quietly smuggled in? It's
> a userland ABI change, for fsck sake...
> * the double-put you've spotted
> * the whole out: thing - just make it
> if (IS_ERR(file)) {
> userfaultfd_ctx_put(ctx);
> return PTR_ERR(file);
> }
> and be done with that.
>
next prev parent reply other threads:[~2020-07-20 1:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-14 16:12 yanfei.xu
2020-07-15 1:41 ` Xu, Yanfei
2020-07-19 13:58 ` Xu, Yanfei
2020-07-19 16:57 ` Al Viro
2020-07-20 1:34 ` Xu, Yanfei [this message]
2020-07-22 0:09 ` Suren Baghdasaryan
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=021ffaaa-daa4-8d80-c5bd-3a6c816d4703@windriver.com \
--to=yanfei.xu@windriver.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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
Powered by JetHome