We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b36a205 commit f6133fbCopy full SHA for f6133fb
fs/io_uring.c
@@ -7846,7 +7846,7 @@ static __cold void io_rsrc_node_ref_zero(struct percpu_ref *ref)
7846
mod_delayed_work(system_wq, &ctx->rsrc_put_work, delay);
7847
}
7848
7849
-static struct io_rsrc_node *io_rsrc_node_alloc(struct io_ring_ctx *ctx)
+static struct io_rsrc_node *io_rsrc_node_alloc(void)
7850
{
7851
struct io_rsrc_node *ref_node;
7852
@@ -7897,7 +7897,7 @@ static int io_rsrc_node_switch_start(struct io_ring_ctx *ctx)
7897
7898
if (ctx->rsrc_backup_node)
7899
return 0;
7900
- ctx->rsrc_backup_node = io_rsrc_node_alloc(ctx);
+ ctx->rsrc_backup_node = io_rsrc_node_alloc();
7901
return ctx->rsrc_backup_node ? 0 : -ENOMEM;
7902
7903
0 commit comments