]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-ddf.c
DDF: fix possible mdmon crash when updating metadata.
authorNeilBrown <neilb@suse.de>
Wed, 2 Apr 2014 04:14:43 +0000 (15:14 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 2 Apr 2014 04:14:43 +0000 (15:14 +1100)
commit188d31ed2b6dc195a4be1f5620ce2e5185d4e789
tree18fdada11e9d051468d60cc9c499783c9f9fae02
parenta44e993e37a76561fa30e932b93d85fab9bcc272
DDF: fix possible mdmon crash when updating metadata.

Testing 'c' and then using 'vdc' assumes that the two are in sync,
but sometimes they aren't.
Testing 'vdc' is safer.
This avoids a crash in some cases when failing/removing/added devices
to a DDF.

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