diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-10-16 15:55:38 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-10-16 15:55:38 +1100 |
commit | f5efd45ae597c96ed017afad5662b67d55b402a0 (patch) | |
tree | 32ef979c6882d594890e02466003f5255af00fe3 /drivers/ata | |
parent | 1d9d52416c0445019ccc1f0fddb9a227456eb61b (diff) | |
download | blackbird-op-linux-f5efd45ae597c96ed017afad5662b67d55b402a0.tar.gz blackbird-op-linux-f5efd45ae597c96ed017afad5662b67d55b402a0.zip |
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 'drivers/ata')
0 files changed, 0 insertions, 0 deletions