io_uring/kbuf: shrink nr_iovs/mode in struct buf_sel_arg
authorJens Axboe <axboe@kernel.dk>
Thu, 8 Aug 2024 18:54:55 +0000 (12:54 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 25 Aug 2024 14:27:01 +0000 (08:27 -0600)
commit120443321dfaaab8eb9290af617abcc37734c1e2
tree8a9391824d36404b63338c7a7cc81aba8e9b74ed
parent7ed9e09e2d13d5d43385153bba4734cb0eafd7fd
io_uring/kbuf: shrink nr_iovs/mode in struct buf_sel_arg

nr_iovs is capped at 1024, and mode only has a few low values. We can
safely make them u16, in preparation for adding a few more members.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/kbuf.h