aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifssmb.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2007-10-16 12:50:25 -0400
committerSteve French <sfrench@us.ibm.com>2007-10-16 12:50:25 -0400
commit7111d2144f17155b66e89b3655fcddbedefcf8a6 (patch)
treed96fa5659257a563d81faad5b2e7f5591c5ef1fd /fs/cifs/cifssmb.c
parent8f2376adfb57d95973b64ecdf016937f436b9bf0 (diff)
[CIFS]
[CIFS] fix error message about packet signing When packet signing is disabled and the server requires it, cifs prints an error message. The current message refers to a file in /proc that no longer exists. Fix it to refer to the correct file. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r--fs/cifs/cifssmb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index b17983633a1c..9eef72492504 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -661,8 +661,8 @@ signing_check:
661 cFYI(1, ("Signing disabled")); 661 cFYI(1, ("Signing disabled"));
662 if (server->secMode & SECMODE_SIGN_REQUIRED) 662 if (server->secMode & SECMODE_SIGN_REQUIRED)
663 cERROR(1, ("Server requires " 663 cERROR(1, ("Server requires "
664 "/proc/fs/cifs/PacketSigningEnabled " 664 "packet signing to be enabled in "
665 "to be on")); 665 "/proc/fs/cifs/SecurityFlags."));
666 server->secMode &= 666 server->secMode &=
667 ~(SECMODE_SIGN_ENABLED | SECMODE_SIGN_REQUIRED); 667 ~(SECMODE_SIGN_ENABLED | SECMODE_SIGN_REQUIRED);
668 } else if ((secFlags & CIFSSEC_MUST_SIGN) == CIFSSEC_MUST_SIGN) { 668 } else if ((secFlags & CIFSSEC_MUST_SIGN) == CIFSSEC_MUST_SIGN) {