]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68e0abb00e82af2e7cacee5a850413babdb0c769
tree8a64f12d112fa47f632b9edfc73c873a6b001e47
parente068fade7656e54a023a89358a2641249adb8dd8
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