On Thu, 2022-09-08 at 16:56 +0100, Pavel Begunkov wrote: > We try to restrict CQ waiters when IORING_SETUP_DEFER_TASKRUN is set, > but if nothing has been submitted yet it'll allow any waiter, which > violates the contract. > > Fixes: dacbb30102689 ("io_uring: add IORING_SETUP_DEFER_TASKRUN") > Signed-off-by: Pavel Begunkov <asml.silence@xxxxxxxxx> > --- > io_uring/io_uring.c | 7 +------ > io_uring/io_uring.h | 9 ++------- > 2 files changed, 3 insertions(+), 13 deletions(-) > Reviewed-by: Dylan Yudaken <dylany@xxxxxx>