Blame SOURCES/pdc_raid10_failure.patch

325406
diff --git a/lib/format/ataraid/pdc.c.raid10_failure b/lib/format/ataraid/pdc.c
325406
index b0bb652..8b14d71 100644
325406
--- a/lib/format/ataraid/pdc.c
325406
+++ b/lib/format/ataraid/pdc.c
325406
@@ -490,7 +490,9 @@ devices(struct raid_dev *rd, void *context)
325406
 	if (context && pdc->raid.type != PDC_T_SPAN)
325406
 		*((uint64_t *) context) += rd->sectors;
325406
 
325406
-	return pdc->raid.total_disks;
325406
+	return is_raid10(pdc) ?
325406
+	       pdc->raid.total_disks / 2 :
325406
+	       pdc->raid.total_disks;
325406
 }
325406
 
325406
 static int