]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block: pass a phys_addr_t to get_max_segment_size
authorChristoph Hellwig <hch@lst.de>
Sat, 6 Jul 2024 07:52:18 +0000 (09:52 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 8 Jul 2024 07:51:05 +0000 (01:51 -0600)
commit09595e0c9d654743483197b2f21dd4ec37c90a27
treece3a94528720e56ff6c8d336b3b4881a709000b5
parent25f76c3db2f08428b5acd082a52787164001eb6e
block: pass a phys_addr_t to get_max_segment_size

Work on a single address to simplify the logic, and prepare the callers
from using better helpers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20240706075228.2350978-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c