[PATCH openEuler-5.10 64/97] md: fix a lock order reversal in md_alloc