io_uring: inline io_req_drop_files()
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 1 Feb 2021 18:59:53 +0000 (18:59 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Feb 2021 20:09:21 +0000 (13:09 -0700)
commit34e08fed2c1cc67df88d85fedde1d05fec62e5ca
tree8e17c9aabb573179e5ee85c61aa133fabb21dfd6
parentba13e23f37c795bdd993523a6749d7afbf5ff7fb
io_uring: inline io_req_drop_files()

req->files now have same lifetime as all other iowq-work resources,
inline io_req_drop_files() for consistency. Moreover, since
REQ_F_INFLIGHT is no more files specific, the function name became
very confusing.

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