]> git.baikalelectronics.ru Git - kernel.git/commit
userns: Fix posix_acl_file_xattr_userns gid conversion
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 9 Oct 2012 22:11:55 +0000 (15:11 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Fri, 12 Oct 2012 20:16:48 +0000 (13:16 -0700)
commit562b7a051a5a71bc2eb327a9cf09cfb09704e441
treea8ca47d6d95e55a2a0b1eb0a947b6a0d4064dbb4
parent69b69c12b1b07bb7686c7d330d6b9cb48a54c9e0
userns: Fix posix_acl_file_xattr_userns gid conversion

The code needs to be from_kgid(make_kgid(...)...) not
from_kuid(make_kgid(...)...). Doh!

Reported-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/xattr_acl.c