[PATCH OLK-5.10 07/10] md: fix error handling in md_alloc