]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit10bea96dcc13ad841d53bdcc9d8e731e9e0ad58f
tree81d9ffb22f42f3576153878fb625d062ee33fb41
parent0558955373023b08f638c9ede36741b0e4200f58
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: b41e98524e42 ("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