]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Remove MD clean superblock bit check, on Neil Browns advice.
authorNathan Scott <nathans@sgi.com>
Thu, 6 May 2004 07:22:23 +0000 (07:22 +0000)
committerNathan Scott <nathans@sgi.com>
Thu, 6 May 2004 07:22:23 +0000 (07:22 +0000)
doc/CHANGES
libdisk/md.c

index 2cfc4bb12c6ff5004c5c7ac8009d06d19c1d48f8..e120a16aff4df35d366789e70d297df3a6336073 100644 (file)
@@ -3,6 +3,8 @@
          a log from beginning to end showing ondisk log record (-d).
        - Fix logprint handling of -f option - shouldn't be doing
          the UUID check in that case, since we don't have the SB.
+       - Remove MD device superblock "clean" check, following Neil
+         Brown's advice.
 
 xfsprogs-2.6.13 (03 May 2004)
        - Zero out more at beginning and end of device at mkfs time
index 36f9d91fb1445ae4847754746000a5639236a232..0dc516327520dd2b2f3b55889d8a28a597fa901c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000-2003 Silicon Graphics, Inc.  All Rights Reserved.
+ * Copyright (c) 2000-2004 Silicon Graphics, Inc.  All Rights Reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of version 2 of the GNU General Public License as
@@ -68,14 +68,6 @@ md_get_subvol_stripe(
                }
                close(fd);
 
-               /* Check state */
-               if (md.state & (1 << MD_SB_ERRORS)) {
-                       fprintf(stderr,
-                               _("warning - MD array %s in error state\n"),
-                               dfile);
-                       exit(1);
-               }
-
                /* Deduct a disk from stripe width on RAID4/5 */
                if (md.level == 4 || md.level == 5)
                        md.nr_disks--;