]> www.infradead.org Git - users/hch/block.git/commitdiff
io_uring: Drop per-ctx dummy_ubuf
authorGabriel Krisman Bertazi <krisman@suse.de>
Thu, 23 May 2024 21:45:17 +0000 (17:45 -0400)
committerJens Axboe <axboe@kernel.dk>
Sun, 16 Jun 2024 20:54:55 +0000 (14:54 -0600)
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")
Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20240523214517.31803-1-krisman@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h

index b48570eaa4497f5447839be089c8190a102f225d..93c9044ec3fef3143e23862fc913c714eba733da 100644 (file)
@@ -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;