[SCSI] libfc: fix rport error handling for login-required and invalid ops
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 25 Aug 2009 21:03:31 +0000 (14:03 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:08:00 +0000 (12:08 -0500)
commit83fe6a93465750d1a20221aaa9a253d9ea7fe45c
treee8e58482fff06ac935f6ca0f6dcef2341956d539
parent3ac6f98f4113ec1c115cf9d443a9bff816e47c0b
[SCSI] libfc: fix rport error handling for login-required and invalid ops

When receiving an ELS request, if the request isn't recognized,
the unsupported operation error should be given even if the port
is not found or not logged in.

Also, the LOGO request shouldn't give the login-required explanation.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_rport.c