summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2025-11-11 17:06:20 +0300
committerJens Axboe <axboe@kernel.dk>2025-11-11 18:35:59 +0300
commitfd9ecd005252b595fd02ff7fcc4056251027404d (patch)
tree7ef88830c6c123267abdaa22f419a844d069359b /scripts
parent727a44027815aea13d34c28254d386562efc3bab (diff)
downloadlinux-fd9ecd005252b595fd02ff7fcc4056251027404d.tar.xz
block: fix merging data-less bios
The data segment gaps the block layer tracks doesn't apply to bio's that don't have data. Skip calculating this to fix a NULL pointer access. Fixes: 2f6b2565d43cdb5 ("block: accumulate memory segment gaps per bio") Reported-by: Matthew Wilcox <willy@infradead.org> Signed-off-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Yu Kuai <yukuai@fnnas.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions