commit | 9250f9ee194dc3dcee28a42a1533fa2cc0edd215 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sat Feb 01 01:22:08 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Feb 03 17:27:47 2020 -0700 |
tree | 6308c62f4e188ec59e6ec957b05cb5bf35d58b66 | |
parent | 5d204bcfa09330972ad3428a8f81c23f371d3e6d [diff] |
io_uring: remove extra ->file check It won't ever get into io_prep_rw() when req->file haven't been set in io_req_set_file(), hence remove the check. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>