io_uring: don't return from io_drain_req()
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 1 Oct 2021 17:07:01 +0000 (18:07 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 11:49:54 +0000 (05:49 -0600)
commite0eb71dcfc4b862261d99f7f90169142867beb0a
tree3eac89edf3fa2b8b99a96411bede0525bdf467ef
parent22b2ca310afcea319c72e051df0371f668192b10
io_uring: don't return from io_drain_req()

Never return from io_drain_req() but punt to tw if we've got there but
it's a false positive and we shouldn't actually drain.

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