[SCSI] zfcp: Fix deadlock when adding invalid LUN
When adding an invalid LUN, there is a deadlock between the add via scsi_scan_target and the slave_destroy handler: The handler waits for the scan to complete, but for an invalid unit, scsi_scan_target directly calls the slave_destroy handler. Fix the deadlock by removing the wait in the slave_destroy handler, it was not necessary anyway. Signed-off-by:Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by:
Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by:
Swen Schillig <swen@vnet.ibm.com> Signed-off-by:
James Bottomley <James.Bottomley@HansenPartnership.com>
Showing
- drivers/s390/scsi/zfcp_aux.c 0 additions, 2 deletionsdrivers/s390/scsi/zfcp_aux.c
- drivers/s390/scsi/zfcp_def.h 0 additions, 4 deletionsdrivers/s390/scsi/zfcp_def.h
- drivers/s390/scsi/zfcp_erp.c 0 additions, 1 deletiondrivers/s390/scsi/zfcp_erp.c
- drivers/s390/scsi/zfcp_scsi.c 0 additions, 3 deletionsdrivers/s390/scsi/zfcp_scsi.c
Loading
Please register or sign in to comment