Neil Brown: A recent patch broke --create --level=faulty - fix it.
    Martin F. Krafft 
    madduck at alioth.debian.org
       
    Tue Apr 22 10:25:59 UTC 2008
    
    
  
Module: mdadm
Branch: upstream-patches
Commit: 08e43379e5e01c8386e7f68f760e11cbe1e42210
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=08e43379e5e01c8386e7f68f760e11cbe1e42210
Author: Neil Brown <neilb at suse.de>
Date:   Thu Nov 29 14:40:01 2007 +1100
A recent patch broke --create --level=faulty - fix it.
Thanks to Martin Bene.
---
 Create.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Create.c b/Create.c
index 5503471..9cb8b78 100644
--- 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;
    
    
More information about the pkg-mdadm-commits
mailing list