diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-07-03 18:05:43 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2022-08-02 17:14:44 -0600 |
| commit | eb25ad80364bc4351ad3f96ecbe9805e8af2d8c0 (patch) | |
| tree | cae4abf4f595b9dfd5c42e83da3b1d6596fb07ca /include/linux/dynamic_queue_limits.h | |
| parent | 9e26728b5fa9c6ffdb3f5612279bd3b2f7ea8c3c (diff) | |
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 'include/linux/dynamic_queue_limits.h')
0 files changed, 0 insertions, 0 deletions
