summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-06-12 04:18:35 +0000
committerSteve French <sfrench@us.ibm.com>2006-06-12 04:18:35 +0000
commit6344a423e5806d138923caa1d7699f3b7809fe43 (patch)
treeb5299ce6b2d8194bdd9fd71097f9209a0d576be2
parent1717ffc58850dfa9e08b4977f8d0323cb3336863 (diff)
downloadblackbird-op-linux-6344a423e5806d138923caa1d7699f3b7809fe43.tar.gz
blackbird-op-linux-6344a423e5806d138923caa1d7699f3b7809fe43.zip
[CIFS] fix minor compile warning when config_cifs_weak_security is off
Signed-off-by: Steve French <sfrench@us.ibm.com>
-rw-r--r--fs/cifs/cifssmb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index acae58313b0c..271a037a386f 100644
--- a/fs/cifs/cifssmb.c
+++ b/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 "
OpenPOWER on IntegriCloud