summaryrefslogtreecommitdiff
path: root/fs/xattr_acl.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-10-13 13:23:39 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-13 13:23:39 -0700
commit09a9ad6a1ff86836e5280c39300176c4758bb459 (patch)
tree27967b60cbb53def07f4ceb8365efb8206c2a777 /fs/xattr_acl.c
parent9db908806b85c1430150fbafe269a7b21b07d15d (diff)
parente9069f470803eeb5e243a05bc717452c6218bd71 (diff)
downloadlwn-09a9ad6a1ff86836e5280c39300176c4758bb459.tar.gz
lwn-09a9ad6a1ff86836e5280c39300176c4758bb459.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
Pull user namespace compile fixes from Eric W Biederman: "This tree contains three trivial fixes. One compiler warning, one thinko fix, and one build fix" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace: btrfs: Fix compilation with user namespace support enabled userns: Fix posix_acl_file_xattr_userns gid conversion userns: Properly print bluetooth socket uids
Diffstat (limited to 'fs/xattr_acl.c')
-rw-r--r--fs/xattr_acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xattr_acl.c b/fs/xattr_acl.c
index 11efd830b5f5..9fbea87fdb6e 100644
--- a/fs/xattr_acl.c
+++ b/fs/xattr_acl.c
@@ -45,7 +45,7 @@ static void posix_acl_fix_xattr_userns(
break;
case ACL_GROUP:
gid = make_kgid(from, le32_to_cpu(entry->e_id));
- entry->e_id = cpu_to_le32(from_kuid(to, uid));
+ entry->e_id = cpu_to_le32(from_kgid(to, gid));
break;
default:
break;