summaryrefslogtreecommitdiff
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-04-24 07:57:45 -0400
committerSteve French <sfrench@us.ibm.com>2010-04-26 18:55:33 +0000
commit04912d6a20185473db025061b9b2c81fbdffc48b (patch)
treebcebae3f427f4ef3af20f407803bf0a3d31e6733 /fs/cifs/connect.c
parentd00c28de55a69d13cf2c6a99efc3e81a5d95af74 (diff)
downloadlinux-3.10-04912d6a20185473db025061b9b2c81fbdffc48b.tar.gz
linux-3.10-04912d6a20185473db025061b9b2c81fbdffc48b.tar.bz2
linux-3.10-04912d6a20185473db025061b9b2c81fbdffc48b.zip
cifs: rename "extended_security" to "global_secflags"
...since that more accurately describes what that variable holds. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index c104f54cadf..c2793bd1db4 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -2748,7 +2748,7 @@ CIFSTCon(unsigned int xid, struct cifsSesInfo *ses,
by Samba (not sure whether other servers allow
NTLMv2 password here) */
#ifdef CONFIG_CIFS_WEAK_PW_HASH
- if ((extended_security & CIFSSEC_MAY_LANMAN) &&
+ if ((global_secflags & CIFSSEC_MAY_LANMAN) &&
(ses->server->secType == LANMAN))
calc_lanman_hash(tcon->password, ses->server->cryptKey,
ses->server->secMode &