Re: [PATCH RESEND] libsas: Fixup device_del() inversion

2017-08-31 Thread John Garry
On 31/08/2017 10:20, Hannes Reinecke wrote: (resending to include linux-scsi) When removing the HBA or port there's a device_del() inversion in sas_deform_port(). If there's only one phy it will call sas_unregister_domain_devices(), which in turn might remove any phys and end_devices

[PATCH RESEND] libsas: Fixup device_del() inversion

2017-08-31 Thread Hannes Reinecke
(resending to include linux-scsi) When removing the HBA or port there's a device_del() inversion in sas_deform_port(). If there's only one phy it will call sas_unregister_domain_devices(), which in turn might remove any phys and end_devices asynchronously via the DISCE_DESTRUCT event. But then it