summaryrefslogtreecommitdiffstats
path: root/io_uring/kbuf.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-14 10:46:40 -0600
committerJens Axboe <axboe@kernel.dk>2024-04-02 19:03:24 -0600
commit3b80cff5a4d117c53d38ce805823084eaeffbde6 (patch)
tree8d0655dbdaa54a1a229fe64c5f5ccf664c69d825 /io_uring/kbuf.h
parent09ab7eff38202159271534d2f5ad45526168f2a5 (diff)
downloadlinux-3b80cff5a4d117c53d38ce805823084eaeffbde6.tar.gz
linux-3b80cff5a4d117c53d38ce805823084eaeffbde6.tar.bz2
linux-3b80cff5a4d117c53d38ce805823084eaeffbde6.zip
io_uring/kbuf: get rid of bl->is_ready
Now that xarray is being exclusively used for the buffer_list lookup, this check is no longer needed. Get rid of it and the is_ready member. Cc: stable@vger.kernel.org # v6.4+ Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/kbuf.h')
-rw-r--r--io_uring/kbuf.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/io_uring/kbuf.h b/io_uring/kbuf.h
index 1c7b654ee726..fdbb10449513 100644
--- a/io_uring/kbuf.h
+++ b/io_uring/kbuf.h
@@ -29,8 +29,6 @@ struct io_buffer_list {
__u8 is_buf_ring;
/* ring mapped provided buffers, but mmap'ed by application */
__u8 is_mmap;
- /* bl is visible from an RCU point of view for lookup */
- __u8 is_ready;
};
struct io_buffer {