]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: inline io_complete_rw_common()
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 11 Feb 2021 18:28:23 +0000 (18:28 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 11 Feb 2021 18:42:19 +0000 (11:42 -0700)
commit1ebc43fd82ac40e8c47bdfe81e73600111f31448
treec2f2ab749ada9f00fe4a9a9ebd4f17b0604efcb2
parent6c9cc1323f6deb0d083052c4bd965813f9ffb299
io_uring: inline io_complete_rw_common()

__io_complete_rw() casts request to kiocb for it to be immediately
container_of()'ed by io_complete_rw_common(). And the last function's name
doesn't do a great job of illuminating its purposes, so just inline it in
its only user.

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