io_uring: fix acquire/release annotations
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 23 Jun 2023 11:23:28 +0000 (12:23 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Jun 2023 14:19:40 +0000 (08:19 -0600)
commit55b6a69fed5df6f88ef0b2ace562b422162beb61
tree50c9f7f9620479d58cd15badc6000c49924ff400
parentf432b76bcc93f36edb3d371f7b8d7881261dd6e7
io_uring: fix acquire/release annotations

We do conditional locking, so __io_cq_lock() and friends not always
actually grab/release the lock, so kill misleading annotations.

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