io_uring: backport io_should_terminate_tw()
Parts of commit b6f58a3f upstream. Backport io_should_terminate_tw() helper to judge whether task_work should be run or terminated. Signed-off-by:Jens Axboe <axboe@kernel.dk> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading