]> www.infradead.org Git - users/jedix/linux-maple.git/commit
block: Remove blk_alloc_zone_bitmap()
authorDamien Le Moal <dlemoal@kernel.org>
Thu, 4 Jul 2024 05:28:16 +0000 (14:28 +0900)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jul 2024 06:42:04 +0000 (00:42 -0600)
commit2f20872ed43185780a5f30581472599342c86d4a
tree3dda48ae4f438bf6e154cd854b5fa4885ca3feb4
parentf2a7bea23710fceb99dac6da4ef82c3cc8932f7f
block: Remove blk_alloc_zone_bitmap()

Remove the helper function blk_alloc_zone_bitmap() and replace its
single call site with a call to bitmap_alloc(). To be consistent with
this change, use bitmap_free() to free a disk convnetional zone bitmap.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20240704052816.623865-6-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-zoned.c