Re: [PATCH] lib/sbitmap: Fix invalid loop in __sbitmap_queue_get_batch()
From: Jens Axboe
Date: Sat Jun 25 2022 - 12:59:37 EST
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