A recent patch broke --create --level=faulty - fix it.

Thanks to Martin Bene.
This commit is contained in:
Neil Brown 2007-11-29 14:40:01 +11:00
parent 7615d98913
commit 08e43379e5
1 changed files with 1 additions and 0 deletions

View File

@ -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;