summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-10-12 19:24:06 +0000
committerSteve French <sfrench@us.ibm.com>2007-10-12 19:24:06 +0000
commit516897a208bc1423d561ce2ccce0624c3b652275 (patch)
treee9145510bb504bf3ade488d1e24871d6f0dad6b1
parent2c2130e16f0e134aa65515fd0c2436fda465b1b6 (diff)
downloadtalos-obmc-linux-516897a208bc1423d561ce2ccce0624c3b652275.tar.gz
talos-obmc-linux-516897a208bc1423d561ce2ccce0624c3b652275.zip
[CIFS] fix build break when lanman not enabled
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Steve French <sfrench@us.ibm.com>
-rw-r--r--fs/cifs/cifsglob.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index fbde55c569fb..61d617370e56 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -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 */
OpenPOWER on IntegriCloud