]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit760294ab2becfa0e9a3469911d6bc82d0891f25d
treef94cf385de3279e086d24123ecf1a449de75d1bc
parent623d2250cf6ab5cb3e6e1fbeeb6dd4648df94724
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