2022-05-23 06:28:53

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: manual merge of the block tree with the vfs tree

Hi all,

Today's linux-next merge of the block tree got a conflict in:

fs/io_uring.c

between commit:

4329490a78b6 ("io_uring_enter(): don't leave f.flags uninitialized")

from the vfs tree and commit:

3e813c902672 ("io_uring: rework io_uring_enter to simplify return value")

from the block tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

--
Cheers,
Stephen Rothwell

diff --cc fs/io_uring.c
index 82a1eac73de7,fd47002e669d..000000000000
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@@ -10840,8 -12060,9 +12060,8 @@@ iopoll_locked
out:
percpu_ref_put(&ctx->refs);
out_fput:
- if (!(flags & IORING_ENTER_REGISTERED_RING))
- fdput(f);
+ fdput(f);
- return submitted ? submitted : ret;
+ return ret;
}

#ifdef CONFIG_PROC_FS


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2022-05-23 07:15:34

by Jens Axboe

[permalink] [raw]
Subject: Re: linux-next: manual merge of the block tree with the vfs tree

On 5/22/22 8:28 PM, Stephen Rothwell wrote:
> Hi all,
>
> Today's linux-next merge of the block tree got a conflict in:
>
> fs/io_uring.c
>
> between commit:
>
> 4329490a78b6 ("io_uring_enter(): don't leave f.flags uninitialized")
>
> from the vfs tree and commit:
>
> 3e813c902672 ("io_uring: rework io_uring_enter to simplify return value")
>
> from the block tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.

Fixup looks good, thanks.

--
Jens Axboe


2022-05-23 23:44:37

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: manual merge of the block tree with the vfs tree

Hi all,

On Mon, 23 May 2022 12:28:27 +1000 Stephen Rothwell <[email protected]> wrote:
>
> Today's linux-next merge of the block tree got a conflict in:
>
> fs/io_uring.c
>
> between commit:
>
> 4329490a78b6 ("io_uring_enter(): don't leave f.flags uninitialized")
>
> from the vfs tree and commit:
>
> 3e813c902672 ("io_uring: rework io_uring_enter to simplify return value")
>
> from the block tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
>
> diff --cc fs/io_uring.c
> index 82a1eac73de7,fd47002e669d..000000000000
> --- a/fs/io_uring.c
> +++ b/fs/io_uring.c
> @@@ -10840,8 -12060,9 +12060,8 @@@ iopoll_locked
> out:
> percpu_ref_put(&ctx->refs);
> out_fput:
> - if (!(flags & IORING_ENTER_REGISTERED_RING))
> - fdput(f);
> + fdput(f);
> - return submitted ? submitted : ret;
> + return ret;
> }
>
> #ifdef CONFIG_PROC_FS


This is now a conflict between Linus' tree and the vfs tree.
--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature