]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Assemble: allow --force to work even when event counts are 0.
authorNeilBrown <neilb@suse.de>
Thu, 27 Nov 2008 04:46:51 +0000 (15:46 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 27 Nov 2008 04:46:51 +0000 (15:46 +1100)
commitd555f101466ab9ad72399c8de92713230e2c9c77
treebc05d72459cd73f82109bf832bd8c1cf2bb56cf8
parent35e3446bfeaa4f2a04517ac115710061b704d3a5
Assemble: allow --force to work even when event counts are 0.

If any superblocks in a confused array had an event count of 0,
"mdadm -Af" would not update the event counts to assemble the array.
I don't remember why that text is there, and it has caused at least
one situation to be difficult to recover from.  So remove the
test.  --force means --force!

Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c