commit:     5de46cc1e109501dc7df3def239eab3a3ee82708
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  3 15:01:17 2023 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Fri Mar  3 15:01:17 2023 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=5de46cc1

Linux patch 5.10.172

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 0000_README               |  4 ++++
 1171_linux-5.10.172.patch | 27 +++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/0000_README b/0000_README
index 1a198b29..dbed36d9 100644
--- a/0000_README
+++ b/0000_README
@@ -727,6 +727,10 @@ Patch:  1170_linux-5.10.171.patch
 From:   https://www.kernel.org
 Desc:   Linux 5.10.171
 
+Patch:  1171_linux-5.10.172.patch
+From:   https://www.kernel.org
+Desc:   Linux 5.10.172
+
 Patch:  1500_XATTR_USER_PREFIX.patch
 From:   https://bugs.gentoo.org/show_bug.cgi?id=470644
 Desc:   Support for namespace user.pax.* on tmpfs.

diff --git a/1171_linux-5.10.172.patch b/1171_linux-5.10.172.patch
new file mode 100644
index 00000000..e16c8778
--- /dev/null
+++ b/1171_linux-5.10.172.patch
@@ -0,0 +1,27 @@
+diff --git a/Makefile b/Makefile
+index 9dde2c2307893..447ed158d6bc0 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,7 +1,7 @@
+ # SPDX-License-Identifier: GPL-2.0
+ VERSION = 5
+ PATCHLEVEL = 10
+-SUBLEVEL = 171
++SUBLEVEL = 172
+ EXTRAVERSION =
+ NAME = Dare mighty things
+ 
+diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c
+index 0c27b81ee1eb7..cf6f8aeb450db 100644
+--- a/io_uring/io_uring.c
++++ b/io_uring/io_uring.c
+@@ -7139,7 +7139,8 @@ static int io_init_req(struct io_ring_ctx *ctx, struct 
io_kiocb *req,
+ 
+       if (io_op_defs[req->opcode].needs_file) {
+               req->file = io_file_get(ctx, req, READ_ONCE(sqe->fd),
+-                                      (sqe_flags & IOSQE_FIXED_FILE), 0);
++                                      (sqe_flags & IOSQE_FIXED_FILE),
++                                      IO_URING_F_NONBLOCK);
+               if (unlikely(!req->file))
+                       ret = -EBADF;
+       }

Reply via email to