io_uring: use io_cq_lock consistently
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 8 Sep 2022 12:20:28 +0000 (13:20 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 16:30:43 +0000 (10:30 -0600)
commite9a884285484a098fd607496d565c3b4e4733f63
tree985aaa3071b4809f41d15f483438070bcead85e8
parent385c609f9bfcfcd1e1e649834fc61e48d2316381
io_uring: use io_cq_lock consistently

There is one place when we forgot to change hand coded spin locking with
io_cq_lock(), change it to be more consistent. Note, the unlock part is
already __io_cq_unlock_post().

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/91699b9a00a07128f7ca66136bdbbfc67a64659e.1662639236.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c