diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2008-07-22 08:31:42 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-26 15:14:57 -0400 |
commit | 2d0da2a44e065a5bdd90bed2ebe0b9216c27f682 (patch) | |
tree | 6658ff20477018a5dc749d0637ee1fea6d37ccc2 /drivers/scsi/scsi_transport_sas.c | |
parent | b3c10489cb464b12a74dda65f826433f71f2c2e2 (diff) | |
download | op-kernel-dev-2d0da2a44e065a5bdd90bed2ebe0b9216c27f682.zip op-kernel-dev-2d0da2a44e065a5bdd90bed2ebe0b9216c27f682.tar.gz |
[SCSI] ibmvfc: Fix hang on module removal
If certain ELS events are received during module removal, after the kthread
is stopped, the rmmod can hang. This fixes the ibmvfc driver so that ELS
events during rmmod are ignored by stopping all device activity prior to
killing the kthread and also changes reinitialization to not attempt a reinit
if the adapter has been taken offline.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/scsi_transport_sas.c')
0 files changed, 0 insertions, 0 deletions