[SCSI] qla2xxx: Acquire hardware lock while manipulating dsd list.
authorSaurav Kashyap <saurav.kashyap@qlogic.com>
Tue, 16 Aug 2011 18:29:25 +0000 (11:29 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 27 Aug 2011 14:19:37 +0000 (08:19 -0600)
commit7594206493880007fd68a18d6e9f380a1afe20d4
tree8a6c7d83958e45bae0142a114b65feb31fcf400d
parent42cd4f5dc2a3de31bfd24642ab4e8b21834a6b78
[SCSI] qla2xxx: Acquire hardware lock while manipulating dsd list.

The dsd list shouldn't be manipulated without taking the per host hardware
lock to prevent multiple callers from trampling upon one another.

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_os.c