aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_debug.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2008-11-13 15:04:07 -0500
committerSteve French <sfrench@us.ibm.com>2008-11-13 15:04:07 -0500
commitfb396016647ae9de5b3bd8c4ee4f7b9cc7148bd5 (patch)
tree40ddde820d7c05b09ee130ef18477ecb50d4c61a /fs/cifs/cifs_debug.c
parent3b7952109361c684caf0c50474da8662ecc81019 (diff)
[CIFS] remove unused list, add new cifs sock list to prepare for mount/umount fix
Also adds two lines missing from the previous patch (for the need reconnect flag in the /proc/fs/cifs/DebugData handling) The new global_cifs_sock_list is added, and initialized in init_cifs but not used yet. Jeff Layton will be adding code in to use that and to remove the GlobalTcon and GlobalSMBSession lists. CC: Jeff Layton <jlayton@redhat.com> CC: Shirish Pargaonkar <shirishp@us.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifs_debug.c')
-rw-r--r--fs/cifs/cifs_debug.c4
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),