scsi: libsas: move bus_reset_handler() to target_reset_handler()
authorHannes Reinecke <hare@suse.de>
Fri, 25 Aug 2017 11:57:02 +0000 (13:57 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 21:21:10 +0000 (17:21 -0400)
commitcc199e78460565eeab0399875dbf9da8e2901c42
tree53fe49ae0e3ea48630a92397239683c7066c7ee0
parente13849b72a0b691d431c9b9964bfe785e3301219
scsi: libsas: move bus_reset_handler() to target_reset_handler()

The bus reset handler is calling I_T Nexus reset, which logically is a
target reset as it need to specify both the initiator and the target.
So move it to target reset.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aic94xx/aic94xx_init.c
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/isci/init.c
drivers/scsi/libsas/sas_scsi_host.c
drivers/scsi/mvsas/mv_init.c
drivers/scsi/pm8001/pm8001_init.c
include/scsi/libsas.h