linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@infradead.org>
To: Jiecheng Wu <jasonwood2031@gmail.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] fs/namespace.c: fix missing return value check of ida_pre_get()
Date: Fri, 17 Aug 2018 19:09:28 -0700	[thread overview]
Message-ID: <20180818020928.GB14115@bombadil.infradead.org> (raw)
In-Reply-To: <20180818020300.4296-1-jasonwood2031@gmail.com>

On Sat, Aug 18, 2018 at 10:03:00AM +0800, Jiecheng Wu wrote:
> Function mnt_alloc_id() defined in fs/namespace.c calls ida_pre_get() to allocate memory. It may return 0 on failure. The return code should be checked against 0.

Please ignore as I've ripped all this code out in:

http://git.infradead.org/users/willy/linux-dax.git/commitdiff/4d1a8396bab0644d4d444dd28c0d622a22f39939?hp=20015ec08dd23a69776d86258c98e9b729dede8c

which is queued for Linus this merge window.

      reply	other threads:[~2018-08-18  5:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-18  2:03 [PATCH] fs/namespace.c: fix missing return value check of ida_pre_get() Jiecheng Wu
2018-08-18  2:09 ` Matthew Wilcox [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=20180818020928.GB14115@bombadil.infradead.org \
    --to=willy@infradead.org \
    --cc=jasonwood2031@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    /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).