]> 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)
commit9939d992acf95a92fe0bc3f3d6f5be129e1909c2
tree501178976d63bda38daa182f8a5ee4bb79fde5bd
parentb7e00843a3ca76cf69eb8ea3ee5a297f694280e1
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