]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/cifs/cifs_debug.c
[CIFS] remove unused list, add new cifs sock list to prepare for mount/umount fix
[linux-2.6-omap-h63xx.git] / fs / cifs / cifs_debug.c
index 69a12aae91d313e832ae3e2002d3bdfc7732ecc6..ba8723d9599679ff86517d1d133856f9a734901d 100644 (file)
@@ -204,7 +204,7 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v)
                else
                        seq_printf(m, " type: %d ", dev_type);
 
-               if (tcon->tidStatus == CifsNeedReconnect)
+               if (tcon->need_reconnect)
                        seq_puts(m, "\tDISCONNECTED ");
        }
        read_unlock(&GlobalSMBSeslock);
@@ -311,7 +311,7 @@ static int cifs_stats_proc_show(struct seq_file *m, void *v)
                i++;
                tcon = list_entry(tmp, struct cifsTconInfo, cifsConnectionList);
                seq_printf(m, "\n%d) %s", i, tcon->treeName);
-               if (tcon->tidStatus == CifsNeedReconnect)
+               if (tcon->need_reconnect)
                        seq_puts(m, "\tDISCONNECTED ");
                seq_printf(m, "\nSMBs: %d Oplock Breaks: %d",
                        atomic_read(&tcon->num_smbs_sent),