]> 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)
commitb6dc6198ebe855d70e6f68d279c4015fe5d73e7b
treefb7ffa213e252d25d720ff4bfa7f8ef076cefa9a
parenta85b36375b05f70301f15cafb9030cae7c789f76
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