+2
−1
Loading
As with the idling code before it, the error exit path should check for a NULL tctx->io_wq before calling io_wq_put_and_exit(). Fixes: 7880174e ("io_uring/tctx: clean up __io_uring_add_tctx_node() error handling") Reported-by:Dan Carpenter <error27@gmail.com> Reviewed-by:
Clément Léger <cleger@meta.com> Signed-off-by:
Jens Axboe <axboe@kernel.dk>