android_kernel_xiaomi_sm8450/io_uring
Jens Axboe c2e3f757d3 UPSTREAM: io_uring: ensure that io_init_req() passes in the right issue_flags
We can't use 0 here, as io_init_req() is always invoked with the
ctx uring_lock held. Newer kernels have IO_URING_F_UNLOCKED for this,
but previously we used IO_URING_F_NONBLOCK to indicate this as well.

Fixes: 08681391b8 ("io_uring: add missing lock in io_get_file_fixed")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit da24142b1e)
Bug: 268174392
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I762eacf1b49ca8a38d8b77c44db4ca2bc49b2c4c
2023-03-06 18:39:19 +00:00
..
io_uring.c UPSTREAM: io_uring: ensure that io_init_req() passes in the right issue_flags 2023-03-06 18:39:19 +00:00
io-wq.c UPSTREAM: io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL 2023-02-17 17:56:56 +00:00
io-wq.h ANDROID: struct io_uring ABI preservation hack for 5.10.162 changes 2023-02-07 13:38:16 +00:00
Makefile UPSTREAM: io_uring: import 5.15-stable io_uring 2023-02-07 13:38:15 +00:00