[PATCH 6.1 212/634] dm-raid: fix possible NULL dereference with undefined raid type