summaryrefslogtreecommitdiff
path: root/block/ioprio.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-02-02 20:19:24 +0300
committerJens Axboe <axboe@kernel.dk>2021-02-08 18:33:16 +0300
commit0f2e6ab851ae146c468bc5151c302c6e2473f70a (patch)
tree740ef403c488f74f65f71b838df33970c4244433 /block/ioprio.c
parentde76fd893074ab2cea132c28ac9efd9d0434215e (diff)
downloadlinux-0f2e6ab851ae146c468bc5151c302c6e2473f70a.tar.xz
block: turn the nr_iovecs argument to bio_alloc* into an unsigned short
The bi_max_vecs and bi_vcnt fields are defined as unsigned short, so don't allow passing larger values in. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/ioprio.c')
0 files changed, 0 insertions, 0 deletions