io_uring/kbuf: rename is_mapped
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 13 Mar 2024 15:52:41 +0000 (15:52 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 13 Mar 2024 20:50:42 +0000 (14:50 -0600)
commit9219e4a9d4ad57323837f7c3562964e61840b17a
treee7abb224040c79fdd0c990dfb6e8abf1a19ba7f4
parent2c5c0ba1179d31b0a030b45a16df6181d1bc3ea6
io_uring/kbuf: rename is_mapped

In buffer lists we have ->is_mapped as well as ->is_mmap, it's
pretty hard to stay sane double checking which one means what,
and in the long run there is a high chance of an eventual bug.
Rename ->is_mapped into ->is_buf_ring.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/c4838f4d8ad506ad6373f1c305aee2d2c1a89786.1710343154.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/kbuf.c
io_uring/kbuf.h