io_uring: fix mismatched finish_wait() calls in io_uring_cancel_files()
authorXiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
Sun, 26 Apr 2020 07:54:43 +0000 (15:54 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 4 May 2020 15:07:14 +0000 (09:07 -0600)
commitd8f1b9716cfd1a1f74c0fedad40c5f65a25aa208
treecb0332630931081c2499c1e74dbc0e51da8f5029
parent0e698dfa282211e414076f9dc7e83c1c288314fd
io_uring: fix mismatched finish_wait() calls in io_uring_cancel_files()

The prepare_to_wait() and finish_wait() calls in io_uring_cancel_files()
are mismatched. Currently I don't see any issues related this bug, just
find it by learning codes.

Signed-off-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c