commit | 937c15e27a63a071d1622928dea6edc8447db738 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Mar 03 06:49:57 2023 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 03 15:14:08 2023 +0100 |
tree | a123b2209804199a4d1c727d23f70fadee845002 | |
parent | bf7123dd26a00e222221696efb95b14c2875607c [diff] |
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: cf7f9cd50013 ("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>