summaryrefslogtreecommitdiffstats
path: root/super0.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-12-14 17:31:13 +1100
committerNeil Brown <neilb@suse.de>2006-12-14 17:31:13 +1100
commit583315d9c522c310c89d5640ae884ef7984b9c30 (patch)
treee3a1f9d2e617fc90460b7786fc01e8c255cbe211 /super0.c
parent757234466509aae6221c2cb96e8366f41ba7e532 (diff)
downloadmdadm-583315d9c522c310c89d5640ae884ef7984b9c30.tar.gz
mdadm-583315d9c522c310c89d5640ae884ef7984b9c30.tar.xz
mdadm-583315d9c522c310c89d5640ae884ef7984b9c30.zip
Give useful message if raid4/5/6 cannot be started because it is not clean and is also degraded.
Diffstat (limited to 'super0.c')
-rw-r--r--super0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/super0.c b/super0.c
index fbb7eb9..d2338a9 100644
--- a/super0.c
+++ b/super0.c
@@ -320,6 +320,7 @@ static void getinfo_super0(struct mdinfo *info, void *sbv)
info->array.ctime = sb->ctime;
info->array.utime = sb->utime;
info->array.chunk_size = sb->chunk_size;
+ info->array.state = sb->state;
info->component_size = sb->size*2;
info->disk.state = sb->this_disk.state;