mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
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>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user