io_uring: drop io_file_put() 'file' argument
authorJens Axboe <axboe@kernel.dk>
Sat, 13 Apr 2019 17:50:54 +0000 (11:50 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 14 Apr 2019 01:08:22 +0000 (19:08 -0600)
commit3d6770fbd9353988839611bab107e4e891506aad
tree5269b98bee6e45d1230a59454b97fec30cb64b6a
parent77f1e0a52d26242b6c2dba019f6ebebfb9ff701e
io_uring: drop io_file_put() 'file' argument

Since the fget/fput handling was reworked in commit 09bb839434bd, we
never call io_file_put() with state == NULL (and hence file != NULL)
anymore. Remove that case.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c