]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] qla2xxx: Fix hang during driver unload when vport is active.
authorArun Easi <arun.easi@qlogic.com>
Tue, 10 May 2011 18:18:16 +0000 (11:18 -0700)
committerJames Bottomley <jbottomley@parallels.com>
Tue, 17 May 2011 07:29:10 +0000 (11:29 +0400)
commit43ebf16d762b082663976b679b813e1b546548d1
tree322a7baa171c3c15782d13705ed0347a18553c62
parentfa96d927362a422405d65491326f8ef763572e84
[SCSI] qla2xxx: Fix hang during driver unload when vport is active.

Bumping ref count during fc_vport_terminate() was the cause. vport
delete would wait for ref count to drop to zero and that would never
happen.

Cc: stable@kernel.org
Signed-off-by: Arun Easi <arun.easi@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_os.c