summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2013-02-06 02:30:39 -0800
committerEric W. Biederman <ebiederm@xmission.com>2013-02-13 07:28:55 -0800
commit64ed39dd1ef284c0338799a6167b77a6d6e01982 (patch)
tree4cc91e6d9081a6ff2b5ebe877593bdab165703c9 /fs/cifs/connect.c
parent1f68233c52e9f2bb53130a0063bc1e6864f6d204 (diff)
downloadblackbird-obmc-linux-64ed39dd1ef284c0338799a6167b77a6d6e01982.tar.gz
blackbird-obmc-linux-64ed39dd1ef284c0338799a6167b77a6d6e01982.zip
cifs: Convert struct cifs_ses to use a kuid_t and a kgid_t
Cc: Steve French <smfrench@gmail.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 01279b8f5d1f..067b0e169fe4 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -2271,7 +2271,7 @@ static int match_session(struct cifs_ses *ses, struct smb_vol *vol)
{
switch (ses->server->secType) {
case Kerberos:
- if (vol->cred_uid != ses->cred_uid)
+ if (!uid_eq(vol->cred_uid, ses->cred_uid))
return 0;
break;
default:
OpenPOWER on IntegriCloud