]> www.infradead.org Git - users/jedix/linux-maple.git/commit
block: take offset into account in blk_bvec_map_sg again
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Jul 2024 07:01:25 +0000 (09:01 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 9 Jul 2024 07:02:44 +0000 (01:02 -0600)
commit61353a63a22890f2c642232ae1ab4a2e02e6a27c
tree104f356b0f6548a0211749a7f34f9343444fc64b
parent0ffc46eb1b6d0b9dd07e4f2b1019edd4fe678b9e
block: take offset into account in blk_bvec_map_sg again

The rebase of commit 09595e0c9d65 ("block: pass a phys_addr_t to
get_max_segment_size") lost adding the total to to the offset in
blk_bvec_map_sg.  Add it back.

Fixes: 09595e0c9d65 ("block: pass a phys_addr_t to get_max_segment_size")
Reported-by: Yi Zhang <yi.zhang@redhat.com>
Reported-by: Chaitanya Kulkarni <chaitanyak@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240709070126.3019940-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c