[SCSI] qla2xxx: Unload hangs after issuing BSG commands to vport.
authorChad Dupuis <chad.dupuis@qlogic.com>
Fri, 8 Feb 2013 06:57:50 +0000 (01:57 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 22 Feb 2013 12:35:40 +0000 (12:35 +0000)
commitb00ee7d770abbe1e63df74eada0376c75ceb2daf
tree65a6889fe5d365b777d8cb5b88790c84aa1280b5
parent619d5a0ded06f6d46092205a68a92f7c3a01dd44
[SCSI] qla2xxx: Unload hangs after issuing BSG commands to vport.

BSG code path increments ref count in the send path, but does not
decrement in the return path leading to hang during unload of the
driver.

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