Skip to content
Commit 61353a63 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

block: take offset into account in blk_bvec_map_sg again

The rebase of commit 09595e0c ("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: 09595e0c

 ("block: pass a phys_addr_t to get_max_segment_size")
Reported-by: default avatarYi Zhang <yi.zhang@redhat.com>
Reported-by: default avatarChaitanya Kulkarni <chaitanyak@nvidia.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240709070126.3019940-1-hch@lst.de
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 0ffc46eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment