linux-stable/drivers/scsi/isci
Jack Wang 4927f1fcf9 isci: remove SCSI host before detaching from SAS transport
commit cff549e486 ("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>
2015-11-09 19:36:04 -05:00
..
host.c
host.h [SCSI] isci: correct erroneous for_each_isci_host macro 2014-03-10 12:49:39 +04:00
init.c isci: remove SCSI host before detaching from SAS transport 2015-11-09 19:36:04 -05:00
isci.h
Makefile
phy.c
phy.h
port.c
port.h
port_config.c [SCSI] isci: fix reset timeout handling 2014-03-10 12:48:16 +04:00
probe_roms.c
probe_roms.h
registers.h
remote_device.c arch: Mass conversion of smp_mb__*() 2014-04-18 14:20:48 +02:00
remote_device.h
remote_node_context.c
remote_node_context.h
remote_node_table.c
remote_node_table.h
request.c libsas: use ata_dev_classify() 2014-11-05 11:22:06 -05:00
request.h
sas.h
scu_completion_codes.h
scu_event_codes.h
scu_remote_node_context.h
scu_task_context.h
task.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2014-12-12 10:08:06 -08:00
task.h libsas: remove task_collector mode 2014-11-27 16:40:24 +01:00
unsolicited_frame_control.c
unsolicited_frame_control.h