]> git.karo-electronics.de Git - linux-beck.git/commit
scsi: libfc: Do not drop down to FLOGI for fc_rport_login()
authorHannes Reinecke <hare@suse.de>
Fri, 30 Sep 2016 09:01:17 +0000 (11:01 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:47 +0000 (17:29 -0500)
commite5a20009dae054344d71a79e9bfbea84152f3eb8
treed9ee32ff8a4ba467562195116d15e8460b80df1a
parent785141c62a26f055b27355ee9234e145955a51c6
scsi: libfc: Do not drop down to FLOGI for fc_rport_login()

When fc_rport_login() is called while the rport is not
in RPORT_ST_INIT, RPORT_ST_READY, or RPORT_ST_DELETE
login is already in progress and there's no need to
drop down to FLOGI; doing so will only confuse the
other side.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_rport.c