Skip to contentSkip to conversation

io_uring: Drop per-ctx dummy_ubuf

PATCH Applied Gabriel Krisman Bertazi 2 participants 2 messages May 23, 2024 – May 25, 2024 io_uring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 io_uring: Drop per-ctx dummy_ubuf

Commit 19a63c402170 ("io_uring/rsrc: keep one global dummy_ubuf") replaced it with a global static object but this stayed behind.

Fixes 19a63c402170 ("io_uring/rsrc: keep one global dummy_ubuf")
---
 include/linux/io_uring_types.h | 1 -
 1 file changed, 1 deletion(-)
include/linux/io_uring_types.h +0 -1
index 7a6b190c7da7..91224bbcfa73 100644
@@ -373,7 +373,6 @@ struct io_ring_ctx {
 	struct io_restriction		restrictions;
 
 	/* slow path rsrc auxilary data, used by update/register */
-	struct io_mapped_ubuf		*dummy_ubuf;
 	struct io_rsrc_data		*file_data;
 	struct io_rsrc_data		*buf_data;
 
Signature · 1 line
2.44.0
maintainer Applied
#1 lore raw
Quoted 4 lines · Gabriel Krisman Bertazi

Commit 19a63c402170 ("io_uring/rsrc: keep one global dummy_ubuf") replaced it with a global static object but this stayed behind.

Applied, thanks!

[1/1] io_uring: Drop per-ctx dummy_ubuf

      commit: 9cbce593462f0839a321f8150e8a868f5c0d7985

Best regards,

Signature · 1 line
Jens Axboe