Messages in this thread | | | Date | Sat, 25 Jun 2022 10:59:29 -0600 | Subject | Re: [PATCH] lib/sbitmap: Fix invalid loop in __sbitmap_queue_get_batch() | From | Jens Axboe <> |
| |
On 6/5/22 8:58 AM, wuchi wrote: > 1. Getting next index before continue branch. > 2. Checking free bits when setting the target bits. Otherwise, > it may reuse the busying bits.
Applied with:
Fixes: 9672b0d43782 ("sbitmap: add __sbitmap_queue_get_batch()")
added as well.
-- Jens Axboe
| |