]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super0.c
Give useful message if raid4/5/6 cannot be started because it is not clean and is...
[thirdparty/mdadm.git] / super0.c
index fbb7eb9eb53cd17d175e0d833ab4eeaec0425917..d2338a9d2d689a8518d318b7830a992497307390 100644 (file)
--- 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;