Gentoo Archives: gentoo-commits

From: Mike Pagano <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/linux-patches:5.10 commit in: /
Date: Fri, 03 Mar 2023 15:01:30
Message-Id: 1677855677.5de46cc1e109501dc7df3def239eab3a3ee82708.mpagano@gentoo
1 commit: 5de46cc1e109501dc7df3def239eab3a3ee82708
2 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 3 15:01:17 2023 +0000
4 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 3 15:01:17 2023 +0000
6 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=5de46cc1
7
8 Linux patch 5.10.172
9
10 Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>
11
12 0000_README | 4 ++++
13 1171_linux-5.10.172.patch | 27 +++++++++++++++++++++++++++
14 2 files changed, 31 insertions(+)
15
16 diff --git a/0000_README b/0000_README
17 index 1a198b29..dbed36d9 100644
18 --- a/0000_README
19 +++ b/0000_README
20 @@ -727,6 +727,10 @@ Patch: 1170_linux-5.10.171.patch
21 From: https://www.kernel.org
22 Desc: Linux 5.10.171
23
24 +Patch: 1171_linux-5.10.172.patch
25 +From: https://www.kernel.org
26 +Desc: Linux 5.10.172
27 +
28 Patch: 1500_XATTR_USER_PREFIX.patch
29 From: https://bugs.gentoo.org/show_bug.cgi?id=470644
30 Desc: Support for namespace user.pax.* on tmpfs.
31
32 diff --git a/1171_linux-5.10.172.patch b/1171_linux-5.10.172.patch
33 new file mode 100644
34 index 00000000..e16c8778
35 --- /dev/null
36 +++ b/1171_linux-5.10.172.patch
37 @@ -0,0 +1,27 @@
38 +diff --git a/Makefile b/Makefile
39 +index 9dde2c2307893..447ed158d6bc0 100644
40 +--- a/Makefile
41 ++++ b/Makefile
42 +@@ -1,7 +1,7 @@
43 + # SPDX-License-Identifier: GPL-2.0
44 + VERSION = 5
45 + PATCHLEVEL = 10
46 +-SUBLEVEL = 171
47 ++SUBLEVEL = 172
48 + EXTRAVERSION =
49 + NAME = Dare mighty things
50 +
51 +diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c
52 +index 0c27b81ee1eb7..cf6f8aeb450db 100644
53 +--- a/io_uring/io_uring.c
54 ++++ b/io_uring/io_uring.c
55 +@@ -7139,7 +7139,8 @@ static int io_init_req(struct io_ring_ctx *ctx, struct io_kiocb *req,
56 +
57 + if (io_op_defs[req->opcode].needs_file) {
58 + req->file = io_file_get(ctx, req, READ_ONCE(sqe->fd),
59 +- (sqe_flags & IOSQE_FIXED_FILE), 0);
60 ++ (sqe_flags & IOSQE_FIXED_FILE),
61 ++ IO_URING_F_NONBLOCK);
62 + if (unlikely(!req->file))
63 + ret = -EBADF;
64 + }