]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] lpfc 8.3.17: Code Cleanup and Locking fixes
authorJames Smart <james.smart@emulex.com>
Wed, 29 Sep 2010 15:18:45 +0000 (11:18 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 7 Oct 2010 22:26:19 +0000 (17:26 -0500)
commitd439d286f573afab8c164dbc953ce1d214585a40
treeeec9c3089e49ae0938b4fff282afd2472d9b7fdc
parentbf5eefb007e7c5498a41af2dd65d957ae9793a63
[SCSI] lpfc 8.3.17: Code Cleanup and Locking fixes

- Move Unload flag earlier in vport deletei to stop ELS traffic
- Replaced some unnecessary spin_lock_irqsave with spin_lock_irq
- Fixed circular spinlock dependency between low-level driver and SCSI midlayer
- Remove duplicate code from lpfc_els_retry routine
- Make all error values negative

Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/lpfc/lpfc_bsg.c
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli.c
drivers/scsi/lpfc/lpfc_vport.c