io_uring: io_rw_reissue lockdep annotations
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 8 Jan 2021 20:57:22 +0000 (20:57 +0000)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 Jan 2021 16:21:43 +0000 (09:21 -0700)
commit55e6ac1e1f31c7f678d9f3c8d54c6f102e5f1550
tree950875a3acab38451777ea80330fb9ff4f5224f1
parentb1445e59cc9a10fdb8f83810ae1f4feb941ab36b
io_uring: io_rw_reissue lockdep annotations

We expect io_rw_reissue() to take place only during submission with
uring_lock held. Add a lockdep annotation to check that invariant.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c