io_uring: remove nonblock arg from io_{rw}_prep()
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 30 Sep 2020 19:57:54 +0000 (22:57 +0300)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Oct 2020 02:38:46 +0000 (20:38 -0600)
commit73debe68b300ca24fdbbe9b6c3787d3e239deb3d
tree3084a8805bb57076abadbd440f7afd37cf5749ae
parenta88fc400212fc1d8aa9ca4979f898fd04ca3aab5
io_uring: remove nonblock arg from io_{rw}_prep()

All io_*_prep() functions including io_{read,write}_prep() are called
only during submission where @force_nonblock is always true. Don't keep
propagating it and instead remove the @force_nonblock argument
from prep() altogether.

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