[SCSI] libfc: fix: empty zone causes endless discovery retries.
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 25 Aug 2009 21:02:33 +0000 (14:02 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:50 +0000 (12:07 -0500)
commitc762608bf75f792dcaf3658338189b9970951704
tree16ed727f905466e550de7c2bee962c06736bda1d
parent883a337cf8969b2906ffd8aeb838d875f7338190
[SCSI] libfc: fix: empty zone causes endless discovery retries.

On some switches, an empty zone causes GPN_FT to be rejected
with reason 9 (unable) explanation 7 (FC-4 types not registered),
which causes discovery to be retried endlessly.  Treat this as
just an empty response and consider discovery complete.

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_disc.c
include/scsi/fc/fc_gs.h