[PATCH 5.10 592/783] md: fix a crash in mempool_free