瀏覽代碼

[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>
Steve French 17 年之前
父節點
當前提交
516897a208
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      fs/cifs/cifsglob.h

+ 3 - 0
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 */