sbitmap: add helper to clear a batch of tags
authorJens Axboe <axboe@kernel.dk>
Fri, 8 Oct 2021 11:44:23 +0000 (05:44 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 20:40:42 +0000 (14:40 -0600)
commit1aec5e4a2962f7e0b3fb3e7308dd726be2472c26
tree8a64f12d112fa47f632b9edfc73c873a6b001e47
parent5a72e899ceb465d731c413d57c6c12cdbf88303c
sbitmap: add helper to clear a batch of tags

sbitmap currently only supports clearing tags one-by-one, add a helper
that allows the caller to pass in an array of tags to clear.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/sbitmap.h
lib/sbitmap.c