]> git.baikalelectronics.ru Git - kernel.git/commit
block: fold blk_max_size_offset into get_max_io_size
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Jun 2022 09:09:33 +0000 (11:09 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Jun 2022 12:29:11 +0000 (06:29 -0600)
commita17bd33c1bf9a361d7506b024f4af038ec82d305
tree92bf4329a3d7e9f8f38e858d855e1b5f2a7ce653
parent5d8f7ff5bad0018bdf3408b3228f1444952ff2a5
block: fold blk_max_size_offset into get_max_io_size

Now that blk_max_size_offset has a single caller left, fold it into that
and clean up the naming convention for the local variables there.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Pankaj Raghav <p.raghav@samsung.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220614090934.570632-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c
include/linux/blkdev.h