Patches for better error checking for check_linux_raid.pl [sf#820806] [#319]