aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/sess.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/sess.c')
-rw-r--r--fs/cifs/sess.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c
index b7d49c03985c..7202d534ef0b 100644
--- a/fs/cifs/sess.c
+++ b/fs/cifs/sess.c
@@ -323,11 +323,12 @@ CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses, int first_time,
323 __u16 action; 323 __u16 action;
324 int bytes_remaining; 324 int bytes_remaining;
325 325
326 cFYI(1,("new sess setup"));
327 if(ses == NULL) 326 if(ses == NULL)
328 return -EINVAL; 327 return -EINVAL;
329 328
330 type = ses->server->secType; 329 type = ses->server->secType;
330
331 cFYI(1,("sess setup type %d",type));
331 if(type == LANMAN) { 332 if(type == LANMAN) {
332#ifndef CONFIG_CIFS_WEAK_PW_HASH 333#ifndef CONFIG_CIFS_WEAK_PW_HASH
333 /* LANMAN and plaintext are less secure and off by default. 334 /* LANMAN and plaintext are less secure and off by default.