+1
−1
+3
−3
Loading
mainline inclusion from mainline-v5.12-rc1 commit 0f2e6ab8 bugzilla: https://gitee.com/openeuler/kernel/issues/IB7FJU Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0f2e6ab851ae146c468bc5151c302c6e2473f70a -------------------------------- 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> Conflicts: block/bio.c include/linux/bio.h [Commit 3175199a ("block: split bio_kmalloc from bio_alloc_bioset") change the comment of bio_alloc_bioset and move bio_kmalloc from include/linux/bio.h to block/bio.c] Signed-off-by:
Li Lingfeng <lilingfeng3@huawei.com> Signed-off-by:
Li Nan <linan122@huawei.com>