Hi, Jens, Jens Axboe <axboe@xxxxxxxxx> writes: > +static void io_ring_ctx_free(struct io_ring_ctx *ctx) > +{ > + destroy_workqueue(ctx->sqo_wq); You need to make sure sqo_wq is non-null before calling destroy_workqueue. -Jeff
Hi, Jens, Jens Axboe <axboe@xxxxxxxxx> writes: > +static void io_ring_ctx_free(struct io_ring_ctx *ctx) > +{ > + destroy_workqueue(ctx->sqo_wq); You need to make sure sqo_wq is non-null before calling destroy_workqueue. -Jeff