]> 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)
commita113c8b19549db493b898d19fed65b4ef57df26e
treeb84a72ec17fa7bb0ad754daaa9cdd7fd9b8ecdb6
parentbaedf43288725a7fe5887e1d98e77dcb48a5b5af
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