Commit 2f20872
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>1 parent f2a7bea commit 2f20872
1 file changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | 153 | | |
161 | 154 | | |
162 | 155 | | |
| |||
1482 | 1475 | | |
1483 | 1476 | | |
1484 | 1477 | | |
1485 | | - | |
| 1478 | + | |
1486 | 1479 | | |
1487 | 1480 | | |
1488 | 1481 | | |
| |||
1604 | 1597 | | |
1605 | 1598 | | |
1606 | 1599 | | |
1607 | | - | |
1608 | 1600 | | |
1609 | 1601 | | |
1610 | 1602 | | |
| |||
1620 | 1612 | | |
1621 | 1613 | | |
1622 | 1614 | | |
1623 | | - | |
| 1615 | + | |
1624 | 1616 | | |
1625 | 1617 | | |
1626 | 1618 | | |
| |||
0 commit comments