io_uring: rename io_file_put()
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 17 May 2020 11:13:41 +0000 (14:13 +0300)
committerJens Axboe <axboe@kernel.dk>
Sun, 17 May 2020 20:10:07 +0000 (14:10 -0600)
commit9f13c35b33fddb186beab9ef21c555a01e45f4d7
tree808e74c5b43ccb808a372e5a41e3e534c5b57393
parent0cdaf760f42eb8e8a714c1cc017423e5da6d4936
io_uring: rename io_file_put()

io_file_put() deals with flushing state's file refs, adding "state" to
its name makes it a bit clearer. Also, avoid double check of
state->file in __io_file_get() in some cases.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c