소스 검색

[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 "