]> git.baikalelectronics.ru Git - kernel.git/commit
block: move bio_allowed_max_sectors to blk-merge.c
authorChristoph Hellwig <hch@lst.de>
Wed, 27 Jul 2022 16:22:59 +0000 (12:22 -0400)
committerJens Axboe <axboe@kernel.dk>
Wed, 3 Aug 2022 03:08:53 +0000 (21:08 -0600)
commitdde6478c38341f419743a6f3320271aee57cf2f7
treefb7ffa213e252d25d720ff4bfa7f8ef076cefa9a
parent0d5f504f513d22c8f416596f15a5660a3d12c375
block: move bio_allowed_max_sectors to blk-merge.c

Move this helper into the only file where it is used.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220727162300.3089193-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c
block/blk.h