diff options
author | Steve French <smfrench@austin.rr.com> | 2005-04-29 01:41:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-29 01:41:06 -0400 |
commit | 6c91d362f1e1ebbd4513adb68fc79d552c11e2c0 (patch) | |
tree | b86a48f6a44cd924684aa5efc55b2760e2365f78 /fs/cifs/cifs_debug.c | |
parent | d14537f103bf746ca766f739f9f5a5bf7a8b4806 (diff) |
[PATCH] cifs: finish up of special character mapping capable unicode conversion routine part 2 of 3
Signed-off-by: Steve French (sfrench@us.ibm.com)
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/cifs/cifs_debug.c')
-rw-r--r-- | fs/cifs/cifs_debug.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c index db28b561cd4b..e7bd93e6226d 100644 --- a/fs/cifs/cifs_debug.c +++ b/fs/cifs/cifs_debug.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "cifsglob.h" | 29 | #include "cifsglob.h" |
30 | #include "cifsproto.h" | 30 | #include "cifsproto.h" |
31 | #include "cifs_debug.h" | 31 | #include "cifs_debug.h" |
32 | #include "cifsfs.h" | ||
32 | 33 | ||
33 | void | 34 | void |
34 | cifs_dump_mem(char *label, void *data, int length) | 35 | cifs_dump_mem(char *label, void *data, int length) |
@@ -78,8 +79,9 @@ cifs_debug_data_read(char *buf, char **beginBuffer, off_t offset, | |||
78 | "Display Internal CIFS Data Structures for Debugging\n" | 79 | "Display Internal CIFS Data Structures for Debugging\n" |
79 | "---------------------------------------------------\n"); | 80 | "---------------------------------------------------\n"); |
80 | buf += length; | 81 | buf += length; |
81 | 82 | length = sprintf(buf,"CIFS Version %s\n",CIFS_VERSION); | |
82 | length = sprintf(buf, "Servers:\n"); | 83 | buf += length; |
84 | length = sprintf(buf, "Servers:"); | ||
83 | buf += length; | 85 | buf += length; |
84 | 86 | ||
85 | i = 0; | 87 | i = 0; |
@@ -100,7 +102,7 @@ cifs_debug_data_read(char *buf, char **beginBuffer, off_t offset, | |||
100 | ses->server->secMode, | 102 | ses->server->secMode, |
101 | atomic_read(&ses->server->inFlight)); | 103 | atomic_read(&ses->server->inFlight)); |
102 | 104 | ||
103 | length = sprintf(buf, "\nMIDs: \n"); | 105 | length = sprintf(buf, "\nMIDs:\n"); |
104 | buf += length; | 106 | buf += length; |
105 | 107 | ||
106 | spin_lock(&GlobalMid_Lock); | 108 | spin_lock(&GlobalMid_Lock); |
@@ -121,7 +123,7 @@ cifs_debug_data_read(char *buf, char **beginBuffer, off_t offset, | |||
121 | sprintf(buf, "\n"); | 123 | sprintf(buf, "\n"); |
122 | buf++; | 124 | buf++; |
123 | 125 | ||
124 | length = sprintf(buf, "\nShares:\n"); | 126 | length = sprintf(buf, "Shares:"); |
125 | buf += length; | 127 | buf += length; |
126 | 128 | ||
127 | i = 0; | 129 | i = 0; |