[PATCH 5.10 033/317] md: fix resync softlockup when bitmap size is less than array size