]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
A recent patch broke --create --level=faulty - fix it.
authorNeil Brown <neilb@suse.de>
Thu, 29 Nov 2007 03:40:01 +0000 (14:40 +1100)
committerNeil Brown <neilb@suse.de>
Thu, 29 Nov 2007 03:40:01 +0000 (14:40 +1100)
Thanks to Martin Bene.

Create.c

index 55034716f22b32ab4377db37c1c7a7477e0f475e..9cb8b78f9813a4bc32c9da2a1dc91e5a1980f1c7 100644 (file)
--- a/Create.c
+++ b/Create.c
@@ -180,6 +180,7 @@ int Create(struct supertype *st, char *mddev, int mdfd,
                }
                break;
        case 1:
+       case LEVEL_FAULTY:
        case LEVEL_MULTIPATH:
                if (chunk) {
                        chunk = 0;