Skip to content

Commit

Permalink
[SCSI] qla2xxx: Initialize the vport_slock spinlock.
Browse files Browse the repository at this point in the history
Commit feafb7b 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>
  • Loading branch information
Andrew Vasquez authored and James Bottomley committed Oct 25, 2010
1 parent 09d1dc2 commit 339aa70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/scsi/qla2xxx/qla_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -1973,6 +1973,7 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
ha->bars = bars;
ha->mem_only = mem_only;
spin_lock_init(&ha->hardware_lock);
spin_lock_init(&ha->vport_slock);

/* Set ISP-type information. */
qla2x00_set_isp_flags(ha);
Expand Down

0 comments on commit 339aa70

Please sign in to comment.