OSDN Git Service

io_uring: make io_double_put_req() use normal completion path
authorJens Axboe <axboe@kernel.dk>
Fri, 15 Nov 2019 05:39:04 +0000 (22:39 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Nov 2019 02:48:31 +0000 (19:48 -0700)
commit978db57e2c329fc612ff669cab9bf0007efd3ca3
treef94cf385de3279e086d24123ecf1a449de75d1bc
parent0e0702dac26b282603261f04a62711a2d9aac17b
io_uring: make io_double_put_req() use normal completion path

If we don't use the normal completion path, we may skip killing links
that should be errored and freed. Add __io_double_put_req() for use
within the completion path itself, other calls should just use
io_double_put_req().

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c