During metadata printout in '-E' option failed disk map field information is missing. Add this information to mdadm '-E' option output. Signed-off-by: Adam Kwolek <adam.kwolek@xxxxxxxxx> --- super-intel.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/super-intel.c b/super-intel.c index 876cc4c..4a9c230 100644 --- a/super-intel.c +++ b/super-intel.c @@ -897,6 +897,12 @@ static void print_imsm_dev(struct imsm_dev *dev, char *uuid, int disk_idx) printf("]"); } printf("\n"); + printf(" Failed disk : "); + if (map->failed_disk_num == 0xff) + printf("none"); + else + printf("%i", map->failed_disk_num); + printf("\n"); slot = get_imsm_disk_slot(map, disk_idx); if (slot >= 0) { ord = get_imsm_ord_tbl_ent(dev, slot, -1); -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html