OSDN Git Service

io_uring: inline io_dismantle_req
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 8 Sep 2021 15:40:50 +0000 (16:40 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 11:49:52 +0000 (05:49 -0600)
commit6b639522f63f82437350038a4925633f769e4ec8
treede49b079d5fb28f3828bf12a3f0e485607aee752
parent4b628aeb69cc49adf56b9c1fde43558143e810f5
io_uring: inline io_dismantle_req

io_dismantle_req() is hot, and not _too_ huge. Inline it, there are 3
call sites, which hopefully will turn into 2 in the future.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/bdd2dc30716cac270c2403e99bccd6286e4ae201.1631115443.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c