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