io_uring: clean io_prep_rw()
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 15 Oct 2021 16:09:16 +0000 (17:09 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 11:49:56 +0000 (05:49 -0600)
commit5cb03d63420bcf533111d30690141a5b28c172fa
tree78e8c955fd6336af20615d8673ee3b5968881076
parent578c0ee234e51d9746e526a26bdb2c1b7ad81dba
io_uring: clean io_prep_rw()

We already store req->file in a variable in io_prep_rw(), just use it
instead of a couple of left references to kicob->ki_filp.

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