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(). 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(-) -- 2.24.0