[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4bbc60e7-ae6e-fc83-4cc1-6229e8dc01ac@gmail.com>
Date: Mon, 2 Mar 2020 18:23:46 +0300
From: Pavel Begunkov <asml.silence@...il.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
David Howells <dhowells@...hat.com>,
Jens Axboe <axboe@...nel.dk>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the keys tree
On 3/2/2020 3:37 AM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the keys tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
Acked-by: Pavel Begunkov <asml.silence@...il.com>
Thanks
> fs/io_uring.c: In function 'io_splice_punt':
> fs/io_uring.c:2473:6: error: too few arguments to function 'get_pipe_info'
> 2473 | if (get_pipe_info(file))
> | ^~~~~~~~~~~~~
> In file included from include/linux/splice.h:12,
> from include/linux/skbuff.h:36,
> from include/linux/if_ether.h:19,
> from include/uapi/linux/ethtool.h:19,
> from include/linux/ethtool.h:18,
> from include/linux/netdevice.h:37,
> from include/net/sock.h:46,
> from fs/io_uring.c:64:
> include/linux/pipe_fs_i.h:267:25: note: declared here
> 267 | struct pipe_inode_info *get_pipe_info(struct file *file, bool for_splice);
> | ^~~~~~~~~~~~~
>
> Caused by commit
>
> 549d46d3827d ("pipe: Add general notification queue support")
>
> interacting with commit
>
> 52b31bc9aabc ("io_uring: add splice(2) support")
>
> from the block tree.
>
> I have added the following merge fix patch.
>
> From: Stephen Rothwell <sfr@...b.auug.org.au>
> Date: Mon, 2 Mar 2020 11:27:27 +1100
> Subject: [PATCH] io_uring: fix up for get_pipe_info() API change
>
> Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
> ---
> fs/io_uring.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/io_uring.c b/fs/io_uring.c
> index fb8fe0bd5e18..8cdd3870cd4e 100644
> --- a/fs/io_uring.c
> +++ b/fs/io_uring.c
> @@ -2470,7 +2470,7 @@ static int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
>
> static bool io_splice_punt(struct file *file)
> {
> - if (get_pipe_info(file))
> + if (get_pipe_info(file, true))
> return false;
> if (!io_file_supports_async(file))
> return true;
>
--
Pavel Begunkov
Powered by blists - more mailing lists