diff options
| author | 2009-10-16 15:55:38 +1100 | |
|---|---|---|
| committer | 2009-10-16 15:55:38 +1100 | |
| commit | f5efd45ae597c96ed017afad5662b67d55b402a0 (patch) | |
| tree | 32ef979c6882d594890e02466003f5255af00fe3 /drivers/md/raid1.c | |
| parent | md/raid1/raid10: add a cond_resched (diff) | |
| download | linux-dev-f5efd45ae597c96ed017afad5662b67d55b402a0.tar.xz linux-dev-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/md/raid1.c')
0 files changed, 0 insertions, 0 deletions
