summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io_uring/rsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/rsrc.c b/io_uring/rsrc.c
index c8d7284f20b8..19e9de040a20 100644
--- a/io_uring/rsrc.c
+++ b/io_uring/rsrc.c
@@ -490,7 +490,7 @@ int io_files_update(struct io_kiocb *req, unsigned int issue_flags)
static void io_free_node(struct io_ring_ctx *ctx, struct io_rsrc_node *node)
{
if (!io_alloc_cache_put(&ctx->node_cache, node))
- kvfree(node);
+ kfree(node);
}
void io_free_rsrc_node(struct io_ring_ctx *ctx, struct io_rsrc_node *node)