diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2010-10-15 14:27:45 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-10-25 17:02:57 -0400 |
commit | 339aa70ecb3d0ef733f4d0393e2b5f6aea617839 (patch) | |
tree | 6f283b2f492305b28b7f588be50ba1cd992c30a2 /drivers/scsi | |
parent | 09d1dc2a001c599e8e5875e246a2f29be81ceef1 (diff) |
[SCSI] qla2xxx: Initialize the vport_slock spinlock.
Commit feafb7b1714cf599a6d0fed45801ab3f66046cbd neglected to initialize
the spinlock.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 2d3273bc48ee..941b4a66fc2b 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -1973,6 +1973,7 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
1973 | ha->bars = bars; | 1973 | ha->bars = bars; |
1974 | ha->mem_only = mem_only; | 1974 | ha->mem_only = mem_only; |
1975 | spin_lock_init(&ha->hardware_lock); | 1975 | spin_lock_init(&ha->hardware_lock); |
1976 | spin_lock_init(&ha->vport_slock); | ||
1976 | 1977 | ||
1977 | /* Set ISP-type information. */ | 1978 | /* Set ISP-type information. */ |
1978 | qla2x00_set_isp_flags(ha); | 1979 | qla2x00_set_isp_flags(ha); |