On Tue, Mar 05, 2024 at 12:35:42AM +0800, Kemeng Shi wrote: > Although there is no concurrent block allocation/free in unit test, > internal functions mb_mark_used and mb_free_blocks assert group > lock is always held. Acquire group before calling mb_mark_used and > mb_free_blocks in unit test to avoid the assertion. > > Signed-off-by: Kemeng Shi <shikemeng@xxxxxxxxxxxxxxx> > Reported-by: Guenter Roeck <linux@xxxxxxxxxxxx> Tested-by: Guenter Roeck <linux@xxxxxxxxxxxx>