]> 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)
commit8495e7e12ab14d10cac284a53588f5199014793a
treef94cf385de3279e086d24123ecf1a449de75d1bc
parent3a41a812acd15099c949bf792c7df7f5b73b09d2
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