commit | 9f13c35b33fddb186beab9ef21c555a01e45f4d7 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun May 17 14:13:41 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Sun May 17 14:10:07 2020 -0600 |
tree | 808e74c5b43ccb808a372e5a41e3e534c5b57393 | |
parent | 0cdaf760f42eb8e8a714c1cc017423e5da6d4936 [diff] |
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>