io_uring/rsrc: add lockdep checks
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 11 Apr 2023 11:06:04 +0000 (12:06 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 12 Apr 2023 18:09:41 +0000 (12:09 -0600)
commit786788a8cfe03056e9c7b1c6e418c1db92a0ce80
treeca1b957506daec14157674a3c71db9173fda5386
parent8ce4269eeedc5b31f5817f610b42cba8be8fa9de
io_uring/rsrc: add lockdep checks

Add a lockdep chek to make sure that file and buffer updates hold
->uring_lock.

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