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>
This commit is contained in:
committed by
Steve French
parent
f083def68f
commit
313fecfa69
@ -3757,11 +3757,14 @@ CIFSTCon(unsigned int xid, struct cifsSesInfo *ses,
|
||||
kfree(tcon->nativeFileSystem);
|
||||
tcon->nativeFileSystem =
|
||||
kzalloc((4 * length) + 2, GFP_KERNEL);
|
||||
if (tcon->nativeFileSystem)
|
||||
if (tcon->nativeFileSystem) {
|
||||
cifs_strfromUCS_le(
|
||||
tcon->nativeFileSystem,
|
||||
(__le16 *) bcc_ptr,
|
||||
length, nls_codepage);
|
||||
cFYI(1, ("nativeFileSystem=%s",
|
||||
tcon->nativeFileSystem));
|
||||
}
|
||||
bcc_ptr += (2 * length) + 2;
|
||||
}
|
||||
/* else do not bother copying these information fields*/
|
||||
|
Reference in New Issue
Block a user