summaryrefslogtreecommitdiff
path: root/scripts/gen-randstruct-seed.sh
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2024-04-08 10:41:05 +0900
committerJens Axboe <axboe@kernel.dk>2024-04-17 08:44:02 -0600
commitdd850ff3eee428b4e1276bd51263dd937643ba19 (patch)
tree68e581921034a14db86aa044341fb813969a5579 /scripts/gen-randstruct-seed.sh
parentb85a3c1b7978f942fa5bf8cfe22b6a6aaa49d3b7 (diff)
downloadlwn-dd850ff3eee428b4e1276bd51263dd937643ba19.tar.gz
lwn-dd850ff3eee428b4e1276bd51263dd937643ba19.zip
block: Allow using bio_attempt_back_merge() internally
Remove "static" from the definition of bio_attempt_back_merge() and declare this function in block/blk.h to allow using it internally from other block layer files. The definition of enum bio_merge_status is also moved to block/blk.h. Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Tested-by: Hans Holmberg <hans.holmberg@wdc.com> Tested-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/20240408014128.205141-6-dlemoal@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gen-randstruct-seed.sh')
0 files changed, 0 insertions, 0 deletions