diff options
Diffstat (limited to 'sys-kernel/openvz-sources/files/openvz-sources-2.6.18.028.057.2-fix-CIFS-build.patch')
-rw-r--r-- | sys-kernel/openvz-sources/files/openvz-sources-2.6.18.028.057.2-fix-CIFS-build.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-kernel/openvz-sources/files/openvz-sources-2.6.18.028.057.2-fix-CIFS-build.patch b/sys-kernel/openvz-sources/files/openvz-sources-2.6.18.028.057.2-fix-CIFS-build.patch new file mode 100644 index 000000000000..f6dda3340bba --- /dev/null +++ b/sys-kernel/openvz-sources/files/openvz-sources-2.6.18.028.057.2-fix-CIFS-build.patch @@ -0,0 +1,25 @@ +http://bugzilla.openvz.org/show_bug.cgi?id=951 + +commit 516897a208bc1423d561ce2ccce0624c3b652275 +Author: Steve French <sfrench@us.ibm.com> +Date: Fri Oct 12 19:24:06 2007 +0000 + + [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> + +diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h +index fbde55c..61d6173 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 */ + |