diff options
author | Omar Sandoval <osandov@fb.com> | 2018-12-03 23:45:43 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-12-04 01:03:58 +0100 |
commit | 8c2def893afc60d88160d524acf345765cf0c447 (patch) | |
tree | 1591bf8e79e27bc533c1781923b154f9545ce2f0 /init | |
parent | blk-mq: don't call ktime_get_ns() if we don't need it (diff) | |
download | linux-8c2def893afc60d88160d524acf345765cf0c447.tar.xz linux-8c2def893afc60d88160d524acf345765cf0c447.zip |
sbitmap: fix sbitmap_for_each_set()
We need to ignore bits in the cleared mask when iterating over all set
bits.
Fixes: ea86ea2cdced ("sbitmap: ammortize cost of clearing bits")
Reported-by: Jens Axboe@kernel.dk>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions