aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/cifs_debug.c')
-rw-r--r--fs/cifs/cifs_debug.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c
index efa099165b22..bff2ec6e054a 100644
--- a/fs/cifs/cifs_debug.c
+++ b/fs/cifs/cifs_debug.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * fs/cifs_debug.c 2 * fs/cifs_debug.c
3 * 3 *
4 * Copyright (C) International Business Machines Corp., 2000,2003 4 * Copyright (C) International Business Machines Corp., 2000,2005
5 * 5 *
6 * Modified by Steve French (sfrench@us.ibm.com) 6 * Modified by Steve French (sfrench@us.ibm.com)
7 * 7 *
@@ -92,8 +92,10 @@ cifs_debug_data_read(char *buf, char **beginBuffer, off_t offset,
92 length = 92 length =
93 sprintf(buf, 93 sprintf(buf,
94 "\n%d) Name: %s Domain: %s Mounts: %d ServerOS: %s \n\tServerNOS: %s\tCapabilities: 0x%x\n\tSMB session status: %d\t", 94 "\n%d) Name: %s Domain: %s Mounts: %d ServerOS: %s \n\tServerNOS: %s\tCapabilities: 0x%x\n\tSMB session status: %d\t",
95 i, ses->serverName, ses->serverDomain, atomic_read(&ses->inUse), 95 i, ses->serverName, ses->serverDomain,
96 ses->serverOS, ses->serverNOS, ses->capabilities,ses->status); 96 atomic_read(&ses->inUse),
97 ses->serverOS, ses->serverNOS,
98 ses->capabilities,ses->status);
97 buf += length; 99 buf += length;
98 if(ses->server) { 100 if(ses->server) {
99 buf += sprintf(buf, "TCP status: %d\n\tLocal Users To Server: %d SecMode: 0x%x Req Active: %d", 101 buf += sprintf(buf, "TCP status: %d\n\tLocal Users To Server: %d SecMode: 0x%x Req Active: %d",
@@ -207,7 +209,8 @@ cifs_stats_read(char *buf, char **beginBuffer, off_t offset,
207 buf += item_length; 209 buf += item_length;
208 item_length = 210 item_length =
209 sprintf(buf,"SMB Request/Response Buffer: %d Pool size: %d\n", 211 sprintf(buf,"SMB Request/Response Buffer: %d Pool size: %d\n",
210 bufAllocCount.counter,cifs_min_rcv + tcpSesAllocCount.counter); 212 bufAllocCount.counter,
213 cifs_min_rcv + tcpSesAllocCount.counter);
211 length += item_length; 214 length += item_length;
212 buf += item_length; 215 buf += item_length;
213 item_length = 216 item_length =