io_uring: put the flag changing code in the same spot
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 1 Feb 2020 00:58:42 +0000 (03:58 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Feb 2020 00:27:47 +0000 (17:27 -0700)
commit3e577dcd73a1fdc641bf45e5ea4a37869de221b5
tree5770edb4dcebdb65ed0d5a4598ecd09fcdf29ed9
parent6c8a31346925cbb373f84a18428ab3df59d3950e
io_uring: put the flag changing code in the same spot

Both iocb_flags() and kiocb_set_rw_flags() are inline and modify
kiocb->ki_flags. Place them close, so they can be potentially better
optimised.

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