diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-06 13:20:20 +0400 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-13 19:28:54 +0400 |
commit | 1f68233c52e9f2bb53130a0063bc1e6864f6d204 (patch) | |
tree | af84a80e7ad103bf674cbc8c8a8f3ad38915bd31 /fs/cifs/misc.c | |
parent | 3da46565043a3d7b9fd5c924e7de2d3e65e9d2a9 (diff) | |
download | linux-1f68233c52e9f2bb53130a0063bc1e6864f6d204.tar.xz |
cifs: Convert struct cifs_sb_info to use kuids and kgids
Cc: Steve French <smfrench@gmail.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/cifs/misc.c')
-rw-r--r-- | fs/cifs/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c index 3a00c0d0cead..1b15bf839f37 100644 --- a/fs/cifs/misc.c +++ b/fs/cifs/misc.c @@ -569,7 +569,7 @@ bool backup_cred(struct cifs_sb_info *cifs_sb) { if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_BACKUPUID) { - if (cifs_sb->mnt_backupuid == current_fsuid()) + if (uid_eq(cifs_sb->mnt_backupuid, current_fsuid())) return true; } if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_BACKUPGID) { |