Bläddra i källkod

[CIFS] fix minor compile warning when config_cifs_weak_security is off

Signed-off-by: Steve French <sfrench@us.ibm.com>
Steve French 19 år sedan
förälder
incheckning
6344a423e5
1 ändrade filer med 2 tillägg och 0 borttagningar
  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 "