diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-04-16 11:21:53 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-04-16 21:26:50 -0400 |
commit | 313fecfa69bbad0a10d3313a50a89d3064f47ce1 (patch) | |
tree | bf75ff66a0e629af493b1a6f2d1b6148569b6b4a /fs/cifs/connect.c | |
parent | f083def68f84b04fe3f97312498911afce79609e (diff) |
cifs: add cFYI messages with some of the saved strings from ssetup/tcon
...to make it easier to find problems in this area in the future.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 1a93604d98f6..4a04ecdc1b76 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -3757,11 +3757,14 @@ CIFSTCon(unsigned int xid, struct cifsSesInfo *ses, | |||
3757 | kfree(tcon->nativeFileSystem); | 3757 | kfree(tcon->nativeFileSystem); |
3758 | tcon->nativeFileSystem = | 3758 | tcon->nativeFileSystem = |
3759 | kzalloc((4 * length) + 2, GFP_KERNEL); | 3759 | kzalloc((4 * length) + 2, GFP_KERNEL); |
3760 | if (tcon->nativeFileSystem) | 3760 | if (tcon->nativeFileSystem) { |
3761 | cifs_strfromUCS_le( | 3761 | cifs_strfromUCS_le( |
3762 | tcon->nativeFileSystem, | 3762 | tcon->nativeFileSystem, |
3763 | (__le16 *) bcc_ptr, | 3763 | (__le16 *) bcc_ptr, |
3764 | length, nls_codepage); | 3764 | length, nls_codepage); |
3765 | cFYI(1, ("nativeFileSystem=%s", | ||
3766 | tcon->nativeFileSystem)); | ||
3767 | } | ||
3765 | bcc_ptr += (2 * length) + 2; | 3768 | bcc_ptr += (2 * length) + 2; |
3766 | } | 3769 | } |
3767 | /* else do not bother copying these information fields*/ | 3770 | /* else do not bother copying these information fields*/ |