aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-12-01 20:12:59 -0500
committerSteve French <sfrench@us.ibm.com>2005-12-01 20:12:59 -0500
commit83451879ab213e152c6fe5c743f257ba58d7acd1 (patch)
tree8b50b75368d74607dfda6b7bc5647419ebfa015a /fs/cifs/inode.c
parent5666c0947ede0432ba5148570aa66ffb9febff5b (diff)
[CIFS] Use fsuid (fsgid) more consistently instead of uid/gid in
assembling smb requests when setuids and Linux protocol extensions enabled and in checking more matching sessions in multiuser mount mode. Pointed out by Shaggy. Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r--fs/cifs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 411c1f7f84da..d1e995757436 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -750,8 +750,8 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode)
750 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) { 750 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) {
751 CIFSSMBUnixSetPerms(xid, pTcon, full_path, 751 CIFSSMBUnixSetPerms(xid, pTcon, full_path,
752 mode, 752 mode,
753 (__u64)current->euid, 753 (__u64)current->fsuid,
754 (__u64)current->egid, 754 (__u64)current->fsgid,
755 0 /* dev_t */, 755 0 /* dev_t */,
756 cifs_sb->local_nls, 756 cifs_sb->local_nls,
757 cifs_sb->mnt_cifs_flags & 757 cifs_sb->mnt_cifs_flags &