We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e97c25 commit f41b075Copy full SHA for f41b075
1 file changed
io_uring/io_uring.c
@@ -1073,12 +1073,14 @@ void io_queue_next(struct io_kiocb *req)
1073
1074
static inline void io_req_put_rsrc_nodes(struct io_kiocb *req)
1075
{
1076
+ struct io_ring_ctx *ctx = req->ctx;
1077
+
1078
if (req->file_node) {
- io_put_rsrc_node(req->ctx, req->file_node);
1079
+ io_put_rsrc_node(ctx, req->file_node);
1080
req->file_node = NULL;
1081
}
1082
if (req->flags & REQ_F_BUF_NODE)
- io_put_rsrc_node(req->ctx, req->buf_node);
1083
+ io_put_rsrc_node(ctx, req->buf_node);
1084
1085
1086
static void io_free_batch_list(struct io_ring_ctx *ctx,
0 commit comments