]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Change "dirty" status to "active"
authorNeil Brown <neilb@suse.de>
Tue, 7 Jun 2005 23:16:36 +0000 (23:16 +0000)
committerNeil Brown <neilb@suse.de>
Tue, 7 Jun 2005 23:16:36 +0000 (23:16 +0000)
Description...

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
ChangeLog
super1.c

index d64f039f2c95f765df23b43e7cc4dc7843e01b6f..420b86a2e92059fa797ca2a265ae74cb2b1df210 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,6 +29,9 @@ Changes Prior to 1.9.0 release
        works.
     -   Assume '-Q' if just a device is given, rather than being silent.
 
+Changes Prior to this release
+    -   Change "dirty" status to "active" as it was confusing people.
+       
 Changes Prior to 1.8.0 release
     -   Makefile cleanup from  Luca Berra <bluca@comedia.it>
     -   --pid-file (-i) to set a pid file to use with --monitor --daemonise
index 628284ff983532165e6d84817f59d5ec92a85105..6330248496276fa24fcfdd67a9ff080020b60499 100644 (file)
--- a/super1.c
+++ b/super1.c
@@ -146,6 +146,7 @@ static void examine_super1(void *sbv)
                printf("    Data Offset : %llu sectors\n", (unsigned long long)__le64_to_cpu(sb->data_offset));
        if (sb->super_offset)
                printf("   Super Offset : %llu sectors\n", (unsigned long long)__le64_to_cpu(sb->super_offset));
+       printf("          State : %s\n", (__le64_to_cpu(sb->resync_offset)+1)? "active":"clean");
        printf("    Device UUID : ");
        for (i=0; i<16; i++) {
                printf("%02x", sb->set_uuid[i]);