OpenCloudOS-Kernel/drivers/scsi/hisi_sas
Johannes Thumshirn c5ce0abeb6 scsi: sas: move scsi_remove_host call into sas_remove_host
Move scsi_remove_host call into sas_remove_host and remove it from SAS
HBA drivers, so we don't mess up the ordering. This solves an issue with
double deleting sysfs entries that was introduced by the change of sysfs
behaviour from commit bcdde7e221 ("sysfs: make __sysfs_remove_dir()
recursive").

[mkp: addressed checkpatch complaints]

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Suggested-by: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: James Bottomley <jejb@linux.vnet.ibm.com>
Cc: Jinpu Wang <jinpu.wang@profitbricks.com>
Cc: John Garry <john.garry@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jinpu Wang <jinpu.wang@profitbricks.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-04-21 10:34:29 -04:00
..
Kconfig scsi: hisi_sas: fix SATA dependency 2017-03-29 22:44:53 -04:00
Makefile hisi_sas: add bare v2 hw driver 2016-02-23 21:27:02 -05:00
hisi_sas.h scsi: hisi_sas: add v2 hw internal abort timeout workaround 2017-04-11 22:01:04 -04:00
hisi_sas_main.c scsi: sas: move scsi_remove_host call into sas_remove_host 2017-04-21 10:34:29 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: fix some sas_task.task_state_lock locking 2017-03-23 11:12:02 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: controller reset for multi-bits ECC and AXI fatal errors 2017-04-11 22:01:04 -04:00