]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Ensure mddev_dev struct always zeroed on allocation.
authorNeilBrown <neilb@suse.de>
Tue, 5 Mar 2013 00:53:51 +0000 (11:53 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 5 Mar 2013 00:53:51 +0000 (11:53 +1100)
commit5e73b02409e55b1f8e48e7b933d97a73ff2e66d3
tree09cad15e1c395e7c7381d4c927063bc4c32dbd4d
parent748952f73e34f9963ea82347f4d71d67dcb1096a
Ensure mddev_dev struct always zeroed on allocation.

There are a number of fields which should not
be left uninitialised.  e.g. attempt_re_add can get
confused if ->writemostly is not set correctly.

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