fc_transport: fix old bug on bitflag definitions
PATCH 1/1 fc_transport: fix old bug on bitflag definitions
I thought we had corrected this a while ago - however, it's still in 2.6.28-rc?.
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.
James - we need to get this into 2.6.28
-- james s
Signed-off-by James Smart <[email protected]>
---
scsi_transport_fc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/scsi/scsi_transport_fc.h +1 -1
@@ -357,7 +357,7 @@ struct fc_rport { /* aka fc_starget_attr/* 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)