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:cf7f9cd500("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 commit937c15e27a) Bug: 268174392 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I762eacf1b49ca8a38d8b77c44db4ca2bc49b2c4c
277 KiB
277 KiB