summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-06-14 12:09:30 +0300
committerJens Axboe <axboe@kernel.dk>2022-06-27 15:29:11 +0300
commitc39493222e41098cd15d11f972d16e943919506d (patch)
tree6651b2dc778ac1d9093a22b93e10af38a10c35b9 /block
parent8689461be3f1ce6686bc26f1f379790bb0fc7a8c (diff)
downloadlinux-c39493222e41098cd15d11f972d16e943919506d.tar.xz
dm: open code blk_max_size_offset in max_io_len
max_io_len always passes an explicitly non-zero chunk_sectors into blk_max_size_offset. That means much of blk_max_size_offset is not needed and can be open coded to simplify the code. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mike Snitzer <snitzer@kernel.org> Link: https://lore.kernel.org/r/20220614090934.570632-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions