]> err.no Git - linux-2.6/commitdiff
[CIFS] fix build break when lanman not enabled
authorSteve French <sfrench@us.ibm.com>
Fri, 12 Oct 2007 19:24:06 +0000 (19:24 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 12 Oct 2007 19:24:06 +0000 (19:24 +0000)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsglob.h

index fbde55c569fb239eaf23c1631ea5a02aa5e62ecc..61d617370e56fa5d79070c908a921ef6b65f3ded 100644 (file)
@@ -479,6 +479,9 @@ struct dir_notify_req {
 #ifdef CONFIG_CIFS_WEAK_PW_HASH
 #define   CIFSSEC_MAY_LANMAN   0x00010
 #define   CIFSSEC_MAY_PLNTXT   0x00020
+#else
+#define   CIFSSEC_MAY_LANMAN    0
+#define   CIFSSEC_MAY_PLNTXT    0
 #endif /* weak passwords */
 #define   CIFSSEC_MAY_SEAL     0x00040 /* not supported yet */