diff options
-rw-r--r-- | drivers/md/md.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 0a13016829da..f27e8f644dfe 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -3334,7 +3334,8 @@ static int md_seq_show(struct seq_file *seq, void *v) | |||
3334 | if (rdev->faulty) { | 3334 | if (rdev->faulty) { |
3335 | seq_printf(seq, "(F)"); | 3335 | seq_printf(seq, "(F)"); |
3336 | continue; | 3336 | continue; |
3337 | } | 3337 | } else if (rdev->raid_disk < 0) |
3338 | seq_printf(seq, "(S)"); /* spare */ | ||
3338 | size += rdev->size; | 3339 | size += rdev->size; |
3339 | } | 3340 | } |
3340 | 3341 | ||