diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2024-07-04 07:28:16 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-07-05 08:42:04 +0200 |
commit | 2f20872ed43185780a5f30581472599342c86d4a (patch) | |
tree | 3dda48ae4f438bf6e154cd854b5fa4885ca3feb4 /block/blk-lib.c | |
parent | block: Remove REQ_OP_ZONE_RESET_ALL emulation (diff) | |
download | linux-2f20872ed43185780a5f30581472599342c86d4a.tar.xz linux-2f20872ed43185780a5f30581472599342c86d4a.zip |
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>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions