summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-virtio.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2019-12-09 20:11:14 +0100
committerJens Axboe <axboe@kernel.dk>2019-12-10 06:04:35 +0100
commitcc90bc68422318eb8e75b15cd74bc8d538a7df29 (patch)
tree4d0f4bb1643821a729440b51421ebfb82144916d /block/blk-mq-virtio.c
parentMerge branch 'nvme/for-5.5' of git://git.infradead.org/nvme into for-linus (diff)
downloadlinux-cc90bc68422318eb8e75b15cd74bc8d538a7df29.tar.xz
linux-cc90bc68422318eb8e75b15cd74bc8d538a7df29.zip
block: fix "check bi_size overflow before merge"
This partially reverts commit e3a5d8e386c3fb973fa75f2403622a8f3640ec06. Commit e3a5d8e386c3 ("check bi_size overflow before merge") adds a bio_full check to __bio_try_merge_page. This will cause __bio_try_merge_page to fail when the last bi_io_vec has been reached. Instead, what we want here is only the bi_size overflow check. Fixes: e3a5d8e386c3 ("block: check bi_size overflow before merge") Cc: stable@vger.kernel.org # v5.4+ Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-virtio.c')
0 files changed, 0 insertions, 0 deletions