io_uring: don't assign write hint in the read path
authorJens Axboe <axboe@kernel.dk>
Mon, 25 Oct 2021 19:45:12 +0000 (13:45 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Oct 2021 21:54:40 +0000 (15:54 -0600)
commit3884b83dff245e41def99ceacca8ed2056baf0a8
tree501178976d63bda38daa182f8a5ee4bb79fde5bd
parentfb27274a90eac5a687fe73229775ad36df737d8b
io_uring: don't assign write hint in the read path

Move this out of the generic read/write prep path, and place it in the
write specific kiocb setup instead.

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