]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] fc_transport: fix old bug on bitflag definitions
authorJames Smart <James.Smart@Emulex.Com>
Thu, 20 Nov 2008 15:58:01 +0000 (10:58 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 21 Nov 2008 08:30:53 +0000 (17:30 +0900)
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>
include/scsi/scsi_transport_fc.h

index 49d8913c4f860ad97dab941dd6538edbe08b6420..6e04e6fe79c70dfdcba023c8457405ed1e4a0e13 100644 (file)
@@ -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)