]> 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)
commitb93c7b36c583bdd5136c2f0cca304942f0f2c229
treec2f2ab749ada9f00fe4a9a9ebd4f17b0604efcb2
parent30adc3d92e9d19d07df780654a68fbaf8d67c8a3
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