mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
scsi: fc_fcp: do not call fc_block_scsi_eh() from host reset
When calling host reset we're resetting all ports anyway, so there is no point in waiting for the ports to become unblocked. Signed-off-by: Hannes Reinecke <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
This commit is contained in:
parent
8d8a3f594c
commit
20081c1ba2
1 changed files with 0 additions and 2 deletions
|
|
@ -2222,8 +2222,6 @@ int fc_eh_host_reset(struct scsi_cmnd *sc_cmd)
|
|||
|
||||
FC_SCSI_DBG(lport, "Resetting host\n");
|
||||
|
||||
fc_block_scsi_eh(sc_cmd);
|
||||
|
||||
fc_lport_reset(lport);
|
||||
wait_tmo = jiffies + FC_HOST_RESET_TIMEOUT;
|
||||
while (!fc_fcp_lport_queue_ready(lport) && time_before(jiffies,
|
||||
|
|
|
|||
Loading…
Reference in a new issue