]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: get rid of kiocb_wait_page_queue_init()
authorJens Axboe <axboe@kernel.dk>
Sun, 16 Aug 2020 17:58:43 +0000 (10:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Sun, 16 Aug 2020 21:36:31 +0000 (14:36 -0700)
commit5720ca70a204492c2aa12e6250ffc4914c9d7a33
treeb84a72ec17fa7bb0ad754daaa9cdd7fd9b8ecdb6
parent2f521327c09009e5108f9102ace1d1e84238bcfb
io_uring: get rid of kiocb_wait_page_queue_init()

The 5.9 merge moved this function io_uring, which means that we don't
need to retain the generic nature of it. Clean up this part by removing
redundant checks, and just inlining the small remainder in
io_rw_should_retry().

No functional changes in this patch.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c