]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec1f77b3f49967021d6eec89f82f89f9bb78db2c
tree501178976d63bda38daa182f8a5ee4bb79fde5bd
parentb8a10c0ab147dc83fe345c3375a743c9351fc4ff
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