diff options
author | Dan Williams | 2009-10-16 15:55:38 +1100 |
---|---|---|
committer | NeilBrown | 2009-10-16 15:55:38 +1100 |
commit | f5efd45ae597c96ed017afad5662b67d55b402a0 (patch) | |
tree | 32ef979c6882d594890e02466003f5255af00fe3 /arch/frv/kernel | |
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 <dan.j.williams@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'arch/frv/kernel')
0 files changed, 0 insertions, 0 deletions