diff options
-rw-r--r-- | drivers/md/md.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 39b917bc0fc0..0a13016829da 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -3346,6 +3346,15 @@ static int md_seq_show(struct seq_file *seq, void *v) | |||
3346 | seq_printf(seq, "\n %llu blocks", | 3346 | seq_printf(seq, "\n %llu blocks", |
3347 | (unsigned long long)size); | 3347 | (unsigned long long)size); |
3348 | } | 3348 | } |
3349 | if (mddev->persistent) { | ||
3350 | if (mddev->major_version != 0 || | ||
3351 | mddev->minor_version != 90) { | ||
3352 | seq_printf(seq," super %d.%d", | ||
3353 | mddev->major_version, | ||
3354 | mddev->minor_version); | ||
3355 | } | ||
3356 | } else | ||
3357 | seq_printf(seq, " super non-persistent"); | ||
3349 | 3358 | ||
3350 | if (mddev->pers) { | 3359 | if (mddev->pers) { |
3351 | mddev->pers->status (seq, mddev); | 3360 | mddev->pers->status (seq, mddev); |