On 28/09/2020 14:49, Pavel Begunkov wrote: > It might fix flush() problems reported by syzkaller, but I haven't > verified it. Jens, please tell if there was a good reason to have > io_sq_thread_stop() in io_uring_flush(). It looks like it shouldn't be a problem removing it, because an sqpoll task sets req->task to itself, and such requests are cancelled and waited by io_uring_release() if that is required. > > Pavel Begunkov (2): > io_uring: fix use-after-free ->files > io_uring: fix unsynchronised removal of sq_data > > fs/io_uring.c | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) > -- Pavel Begunkov