]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring: add lockdep asserts to io_add_aux_cqe
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 9 May 2025 11:03:43 +0000 (12:03 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 9 May 2025 13:58:55 +0000 (07:58 -0600)
commit81a22c86ec7060be43404d4e6d68fca03dbafcf4
tree5fe018273bb7a5ef23eb56cda2fb6b3cc8c077ed
parent28b8cd864da516ea87162015e490b1dea444888f
io_uring: add lockdep asserts to io_add_aux_cqe

io_add_aux_cqe() can only be called for rings with uring_lock protected
completion queues, add a couple of assertions in regards to that.

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