fcoe: use enum for fip_mode
The FIP mode is independent on the FIP state machine, so use a separate enum for that instead of overloading it with state machine values. Signed-off-by: Hannes Reinecke <hare@suse.com> Acked-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Cette révision appartient à :

révisé par
Martin K. Petersen

Parent
6a551c1132
révision
1917d42d14
@@ -1308,7 +1308,7 @@ void fnic_handle_fip_timer(struct fnic *fnic)
|
||||
}
|
||||
spin_unlock_irqrestore(&fnic->fnic_lock, flags);
|
||||
|
||||
if (fnic->ctlr.mode == FIP_ST_NON_FIP)
|
||||
if (fnic->ctlr.mode == FIP_MODE_NON_FIP)
|
||||
return;
|
||||
|
||||
spin_lock_irqsave(&fnic->vlans_lock, flags);
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur