Re: [PATCH] scsi: sas: move scsi_remove_host call into sas_remove_host

From: Martin K. Petersen
Date: Fri Apr 21 2017 - 11:52:06 EST



Johannes,

> 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 bcdde7e ("sysfs: make
> __sysfs_remove_dir() recursive").

Yeah, I prefer this approach.

Applied to 4.12/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering