diff options
| author | Martin Wilck <[email protected]> | 2021-01-11 14:25:41 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-01-13 03:56:49 +0000 |
| commit | 72eeb7c7151302ef007f1acd018cbf6f30e50321 (patch) | |
| tree | 85438ab45094ef6e861d573d7303f8600cd870bb /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | scsi: docs: ABI: sysfs-driver-ufs: Rectify table formatting (diff) | |
| download | kernel-72eeb7c7151302ef007f1acd018cbf6f30e50321.tar.gz kernel-72eeb7c7151302ef007f1acd018cbf6f30e50321.zip | |
scsi: scsi_transport_srp: Don't block target in failfast state
If the port is in SRP_RPORT_FAIL_FAST state when srp_reconnect_rport() is
entered, a transition to SDEV_BLOCK would be illegal, and a kernel WARNING
would be triggered. Skip scsi_target_block() in this case.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin Wilck <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
