commit | f5efd45ae597c96ed017afad5662b67d55b402a0 | [log] [tgz] |
---|---|---|
author | Dan Williams <[email protected]> | Fri Oct 16 15:55:38 2009 +1100 |
committer | NeilBrown <[email protected]> | Fri Oct 16 15:55:38 2009 +1100 |
tree | 32ef979c6882d594890e02466003f5255af00fe3 | |
parent | 1d9d52416c0445019ccc1f0fddb9a227456eb61b [diff] |
md/raid5: initialize conf->device_lock earlier Deallocating a raid5_conf_t structure requires taking 'device_lock'. Ensure it is initialized before it is used, i.e. initialize the lock before attempting any further initializations that might fail. Signed-off-by: Dan Williams <[email protected]> Signed-off-by: NeilBrown <[email protected]>