summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMartin Wilck <mwilck@suse.com>2021-01-11 17:25:41 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-01-13 06:56:49 +0300
commit72eeb7c7151302ef007f1acd018cbf6f30e50321 (patch)
tree85438ab45094ef6e861d573d7303f8600cd870bb /net/unix/af_unix.c
parentf2cb4b2397ca9e6e972d6551e5461d1f1d81c23f (diff)
downloadlinux-72eeb7c7151302ef007f1acd018cbf6f30e50321.tar.xz
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/20210111142541.21534-1-mwilck@suse.com Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin Wilck <mwilck@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions