]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add missing finish_wait() in io_sq_thread()
authorHillf Danton <hdanton@sina.com>
Wed, 1 Apr 2020 09:19:33 +0000 (17:19 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Apr 2020 13:02:55 +0000 (07:02 -0600)
commit660c3298df52124700d51cc228421d11ade064f4
tree81d9ffb22f42f3576153878fb625d062ee33fb41
parentbe5b51d3c71bc4592b701253319ec6b82a441fd9
io_uring: add missing finish_wait() in io_sq_thread()

Add it to pair with prepare_to_wait() in an attempt to avoid
anything weird in the field.

Fixes: 63a0ec7261db ("io_uring: add per-task callback handler")
Reported-by: syzbot+0c3370f235b74b3cfd97@syzkaller.appspotmail.com
Signed-off-by: Hillf Danton <hdanton@sina.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c