diff options
| author | Jens Axboe <axboe@kernel.dk> | 2023-03-03 06:49:57 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-03 15:13:15 +0100 |
| commit | da24142b1ef9fd5d36b76e36bab328a5b27523e8 (patch) | |
| tree | b8e9ff1cb05426726229daa93186056ad90676a9 /Kbuild | |
| parent | a25aa776b0c49b17c67ee047e58537552f16776f (diff) | |
| download | linux-da24142b1ef9fd5d36b76e36bab328a5b27523e8.tar.gz linux-da24142b1ef9fd5d36b76e36bab328a5b27523e8.tar.bz2 linux-da24142b1ef9fd5d36b76e36bab328a5b27523e8.zip | |
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: 08681391b84d ("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>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions
