[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b80206fa-21b7-448a-0586-c5b17f737bfb@kernel.dk>
Date: Sat, 25 Jun 2022 10:59:29 -0600
From: Jens Axboe <axboe@...nel.dk>
To: wuchi <wuchi.zero@...il.com>, mwilck@...e.com,
andriy.shevchenko@...ux.intel.com
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] lib/sbitmap: Fix invalid loop in
__sbitmap_queue_get_batch()
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
Powered by blists - more mailing lists