diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-01 23:26:23 +0100 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-13 15:15:33 +0100 |
commit | 9ff593c4739c76c31ffdf7f2a1d67489ece728e6 (patch) | |
tree | cec4de986fba9139c02dc94e81b871ffeb87de0b /init | |
parent | nfs: Convert nfs4xdr to use kuids and kgids (diff) | |
download | linux-9ff593c4739c76c31ffdf7f2a1d67489ece728e6.tar.xz linux-9ff593c4739c76c31ffdf7f2a1d67489ece728e6.zip |
nfs: kuid and kgid conversions for nfs/inode.c
- Use uid_eq and gid_eq when comparing kuids and kgids.
- Use make_kuid(&init_user_ns, -2) and make_kgid(&init_user_ns, -2) as
the initial uid and gid on nfs inodes, instead of using the typeunsafe
value of -2.
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions