浏览代码

[CIFS] fix minor compile warning when config_cifs_weak_security is off

Signed-off-by: Steve French <sfrench@us.ibm.com>
Steve French 19 年之前
父节点
当前提交
6344a423e5
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      fs/cifs/cifssmb.c

+ 2 - 0
fs/cifs/cifssmb.c

@@ -569,7 +569,9 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses)
 	} else
 		server->capabilities &= ~CAP_EXTENDED_SECURITY;
 
+#ifdef CONFIG_CIFS_WEAK_PW_HASH
 signing_check:
+#endif
 	if(sign_CIFS_PDUs == FALSE) {        
 		if(server->secMode & SECMODE_SIGN_REQUIRED)
 			cERROR(1,("Server requires "