diff --git a/fs/io_uring.c b/fs/io_uring.c index cef80106b30592842573186df1f0211613be4741..5215d32c4f8c2f0d85c81ec3102e90504fe4b6d1 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -7299,6 +7299,7 @@ static void io_sqe_rsrc_kill_node(struct io_ring_ctx *ctx, struct fixed_rsrc_dat io_rsrc_ref_lock(ctx); ref_node = data->node; + data->node = NULL; io_rsrc_ref_unlock(ctx); if (ref_node) percpu_ref_kill(&ref_node->refs);