summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mvsas
diff options
context:
space:
mode:
authorJack Wang <jinpu.wang@profitbricks.com>2015-11-05 12:33:45 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2015-11-09 19:36:50 -0500
commit4024593d5d9cc0002184f1748b7cdb1705f08e05 (patch)
treeb79f804b3b1cada67ce55531d5c552c3be4e5475 /drivers/scsi/mvsas
parent4927f1fcf9afc0043a4a88c98cb7cb6caec11ff1 (diff)
downloadop-kernel-dev-4024593d5d9cc0002184f1748b7cdb1705f08e05.zip
op-kernel-dev-4024593d5d9cc0002184f1748b7cdb1705f08e05.tar.gz
aic94xx: remove SCSI host before detaching from SAS transport
commit cff549e4860f ("scsi: proper state checking and module refcount handling in scsi_device_get") the reference count of scsi device was changed, which could lead to when rmmod with at least on drive attached, SCSI error handle will run into infinite loop, and lockup the system. Fix it by remove scsi host first, this way scsi core will not send commands down after detaching SAS transport. This is a follow up fix for Benjamin's fix for pm80xx. See also: http://www.spinics.net/lists/linux-scsi/msg90088.html Signed-off-by: Jack Wang <jinpu.wang@profitbricks.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mvsas')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud