diff options
author | Neil Brown <neilb@suse.de> | 2008-07-11 00:50:06 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-11 00:50:06 +0200 |
commit | d024b0a7eb520d5d7f2238b31c18eabe3775e731 (patch) | |
tree | a88e34e44820a0cbea1a7e949ad3138d6c0a2e9a /Create.c | |
parent | Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/... (diff) | |
download | mdadm-d024b0a7eb520d5d7f2238b31c18eabe3775e731.tar.xz mdadm-d024b0a7eb520d5d7f2238b31c18eabe3775e731.zip |
Always assume_clean for raid0, linear, multipath, faulty
For arrays that don't have redundancy (raid0, linear etc), the
clean/dirty distinction doesn't mean anything. So always
'assume clean' for these arrays.
Diffstat (limited to 'Create.c')
-rw-r--r-- | Create.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -441,6 +441,8 @@ int Create(struct supertype *st, char *mddev, int mdfd, ( level == 6 && (insert_point < raiddisks || second_missing < raiddisks)) || + ( level <= 0 ) + || assume_clean ) info.array.state = 1; /* clean, but one+ drive will be missing*/ |