diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-03-21 05:01:25 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-03-21 05:01:25 +0300 |
commit | 9d2789ac9d60c049d26ef6d3005d9c94c5a559e9 (patch) | |
tree | e09175212c3cd8e96aa4285907356cb430513f62 /lib/hweight.c | |
parent | 4985e7b2c002eb4c5c794a1d3acd91b82c89a0fd (diff) | |
download | linux-9d2789ac9d60c049d26ef6d3005d9c94c5a559e9.tar.xz |
block/io_uring: pass in issue_flags for uring_cmd task_work handling
io_uring_cmd_done() currently assumes that the uring_lock is held
when invoked, and while it generally is, this is not guaranteed.
Pass in the issue_flags associated with it, so that we have
IO_URING_F_UNLOCKED available to be able to lock the CQ ring
appropriately when completing events.
Cc: stable@vger.kernel.org
Fixes: ee692a21e9bf ("fs,io_uring: add infrastructure for uring-cmd")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions