]> 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)
commit184e67485320e0bc32ecca8e4756767f4d5ba7a3
tree81d9ffb22f42f3576153878fb625d062ee33fb41
parent94fb5e69010529b568a1aa6cbc8d19b4239d9aa4
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: f38f4c81f0ae ("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