summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Smart <James.Smart@Emulex.Com>2008-11-20 10:58:01 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-11-21 17:30:53 +0900
commit21098c68df7115554fe041170899bdff709efd08 (patch)
tree4d1d6d5c35af423b1a8ee21550990e76f7631a9f
parent2a3a59e5c977654d3aad5bc11cc0aca2303a7f44 (diff)
downloadlinux-21098c68df7115554fe041170899bdff709efd08.tar.gz
linux-21098c68df7115554fe041170899bdff709efd08.tar.bz2
linux-21098c68df7115554fe041170899bdff709efd08.zip
[SCSI] fc_transport: fix old bug on bitflag definitions
When the fastfail flag was added, it did not account for the flags being bit fields. Correct the definition so there is no longer a conflict. Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r--include/scsi/scsi_transport_fc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/scsi_transport_fc.h b/include/scsi/scsi_transport_fc.h
index 49d8913c4f86..6e04e6fe79c7 100644
--- a/include/scsi/scsi_transport_fc.h
+++ b/include/scsi/scsi_transport_fc.h
@@ -357,7 +357,7 @@ struct fc_rport { /* aka fc_starget_attrs */
/* bit field values for struct fc_rport "flags" field: */
#define FC_RPORT_DEVLOSS_PENDING 0x01
#define FC_RPORT_SCAN_PENDING 0x02
-#define FC_RPORT_FAST_FAIL_TIMEDOUT 0x03
+#define FC_RPORT_FAST_FAIL_TIMEDOUT 0x04
#define dev_to_rport(d) \
container_of(d, struct fc_rport, dev)