]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: simplify io_file_supports_nowait()
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 16 Oct 2021 23:07:10 +0000 (00:07 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 11:49:56 +0000 (05:49 -0600)
commit01de3c69ce8519d821d62f53a0529e7f52b377bf
tree27772501a155d0e3cbabf95ab9cec0a2c9a689a5
parent48868644c57784a4ffbb50757e8b4547d063882c
io_uring: simplify io_file_supports_nowait()

Make sure that REQ_F_SUPPORT_NOWAIT is always set io_prep_rw(), and so
we can stop caring about setting it down the line simplifying
io_file_supports_nowait().

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/60c8f1f5e2cb45e00f4897b2cec10c5b3669da91.1634425438.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c