From: Steve French Date: Fri, 12 Oct 2007 19:24:06 +0000 (+0000) Subject: [CIFS] fix build break when lanman not enabled X-Git-Tag: v2.6.24-rc1~138^2~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=516897a208bc1423d561ce2ccce0624c3b652275;p=linux-2.6 [CIFS] fix build break when lanman not enabled Signed-off-by: Andrew Morton Signed-off-by: Steve French --- diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index fbde55c569..61d617370e 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 */