]> Git Repo - linux.git/commit - include/scsi/libfc.h
[SCSI] libfc: rename rport state "NONE" to "DELETE".
authorJoe Eykholt <[email protected]>
Thu, 30 Jul 2009 00:04:43 +0000 (17:04 -0700)
committerJames Bottomley <[email protected]>
Sat, 22 Aug 2009 22:52:06 +0000 (17:52 -0500)
commit141940548c6919c22bf0573c68fd59d961e22475
tree64ef27e9f0e11df5e64bd5616ed194a02b0eea5c
parent84b05445b9f0b1ac2192f32260c916426d902d79
[SCSI] libfc: rename rport state "NONE" to "DELETE".

State RPORT_ST_NONE was intented to be an invalid state (0), never used.
This was a misguided attempt to be sure it was always initialized.
Having an extra state meaning nothing requires switch statements to
have a case covering that state.

State NONE has been used instead to mean the remote port is being deleted.
Changing the name to RPORT_ST_DELETE.

Signed-off-by: Joe Eykholt <[email protected]>
Signed-off-by: Robert Love <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
drivers/scsi/libfc/fc_rport.c
include/scsi/libfc.h
This page took 0.048764 seconds and 4 git commands to generate.