Skip to content
Commit 3d6770fb authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: drop io_file_put() 'file' argument

Since the fget/fput handling was reworked in commit 09bb8394

, we
never call io_file_put() with state == NULL (and hence file != NULL)
anymore. Remove that case.

Reported-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 77f1e0a5
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