Skip to content
Commit 949249e2 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring/rw: remove dead file == NULL check



Any read/write opcode has needs_file == true, which means that we
would've failed the request long before reaching the issue stage if we
didn't successfully assign a file. This check has been dead forever,
and is really a leftover from generic code.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4caa74fd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment