diff options
Diffstat (limited to 'fs/cifs/cifs_debug.c')
-rw-r--r-- | fs/cifs/cifs_debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c index 69a12aae91d3..ba8723d95996 100644 --- a/fs/cifs/cifs_debug.c +++ b/fs/cifs/cifs_debug.c | |||
@@ -204,7 +204,7 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v) | |||
204 | else | 204 | else |
205 | seq_printf(m, " type: %d ", dev_type); | 205 | seq_printf(m, " type: %d ", dev_type); |
206 | 206 | ||
207 | if (tcon->tidStatus == CifsNeedReconnect) | 207 | if (tcon->need_reconnect) |
208 | seq_puts(m, "\tDISCONNECTED "); | 208 | seq_puts(m, "\tDISCONNECTED "); |
209 | } | 209 | } |
210 | read_unlock(&GlobalSMBSeslock); | 210 | read_unlock(&GlobalSMBSeslock); |
@@ -311,7 +311,7 @@ static int cifs_stats_proc_show(struct seq_file *m, void *v) | |||
311 | i++; | 311 | i++; |
312 | tcon = list_entry(tmp, struct cifsTconInfo, cifsConnectionList); | 312 | tcon = list_entry(tmp, struct cifsTconInfo, cifsConnectionList); |
313 | seq_printf(m, "\n%d) %s", i, tcon->treeName); | 313 | seq_printf(m, "\n%d) %s", i, tcon->treeName); |
314 | if (tcon->tidStatus == CifsNeedReconnect) | 314 | if (tcon->need_reconnect) |
315 | seq_puts(m, "\tDISCONNECTED "); | 315 | seq_puts(m, "\tDISCONNECTED "); |
316 | seq_printf(m, "\nSMBs: %d Oplock Breaks: %d", | 316 | seq_printf(m, "\nSMBs: %d Oplock Breaks: %d", |
317 | atomic_read(&tcon->num_smbs_sent), | 317 | atomic_read(&tcon->num_smbs_sent), |