]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add prepped flag
authorJens Axboe <axboe@kernel.dk>
Wed, 13 Mar 2019 18:15:01 +0000 (12:15 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 15 Mar 2019 04:24:00 +0000 (22:24 -0600)
commit63db5efe4b030afcc498eda928eba385a6014771
tree7007b61671e49a097c0728a79b2c7cdb9f4d00a2
parent5ee4238939682dd688c88e15a98ce038461607a3
io_uring: add prepped flag

We currently use the fact that if ->ki_filp is already set, then we've
done the prep. In preparation for moving the file assignment earlier,
use a separate flag to tell whether the request has been prepped for
IO or not.

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