diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-07-03 19:05:43 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-03 02:14:44 +0300 |
commit | eb25ad80364bc4351ad3f96ecbe9805e8af2d8c0 (patch) | |
tree | cae4abf4f595b9dfd5c42e83da3b1d6596fb07ca /drivers/block/rnbd/rnbd-clt.c | |
parent | 9e26728b5fa9c6ffdb3f5612279bd3b2f7ea8c3c (diff) | |
download | linux-eb25ad80364bc4351ad3f96ecbe9805e8af2d8c0.tar.xz |
block: null_blk: Use the bitmap API to allocate bitmaps
Use bitmap_zalloc()/bitmap_free() instead of hand-writing them.
It is less verbose and it improves the semantic.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/7c4d3116ba843fc4a8ae557dd6176352a6cd0985.1656864320.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/rnbd/rnbd-clt.c')
0 files changed, 0 insertions, 0 deletions