diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/scsi/fcoe/fcoe_ctlr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/fcoe/fcoe_ctlr.c b/drivers/scsi/fcoe/fcoe_ctlr.c index 795843dde8ec..203415e02518 100644 --- a/drivers/scsi/fcoe/fcoe_ctlr.c +++ b/drivers/scsi/fcoe/fcoe_ctlr.c | |||
| @@ -2090,7 +2090,11 @@ static struct fc_rport_operations fcoe_ctlr_vn_rport_ops = { | |||
| 2090 | */ | 2090 | */ |
| 2091 | static void fcoe_ctlr_disc_stop_locked(struct fc_lport *lport) | 2091 | static void fcoe_ctlr_disc_stop_locked(struct fc_lport *lport) |
| 2092 | { | 2092 | { |
| 2093 | struct fc_rport_priv *rdata; | ||
| 2094 | |||
| 2093 | mutex_lock(&lport->disc.disc_mutex); | 2095 | mutex_lock(&lport->disc.disc_mutex); |
| 2096 | list_for_each_entry_rcu(rdata, &lport->disc.rports, peers) | ||
| 2097 | lport->tt.rport_logoff(rdata); | ||
| 2094 | lport->disc.disc_callback = NULL; | 2098 | lport->disc.disc_callback = NULL; |
| 2095 | mutex_unlock(&lport->disc.disc_mutex); | 2099 | mutex_unlock(&lport->disc.disc_mutex); |
| 2096 | } | 2100 | } |
