Linux-Fsdevel Archive on
help / color / mirror / Atom feed
From: Jens Axboe <>
To: "Matthew Wilcox (Oracle)" <>,,,
	Pavel Begunkov <>,
	Dan Carpenter <>
Subject: Re: [PATCH] io_uring: Fix return value from alloc_fixed_file_ref_node
Date: Wed, 6 Jan 2021 09:20:43 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 1/6/21 9:09 AM, Matthew Wilcox (Oracle) wrote:
> alloc_fixed_file_ref_node() currently returns an ERR_PTR on failure.
> io_sqe_files_unregister() expects it to return NULL and since it can only
> return -ENOMEM, it makes more sense to change alloc_fixed_file_ref_node()
> to behave that way.

Applied, thanks.

Jens Axboe

      reply	other threads:[~2021-01-06 16:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 16:09 Matthew Wilcox (Oracle)
2021-01-06 16:20 ` Jens Axboe [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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] io_uring: Fix return value from alloc_fixed_file_ref_node' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).