]> Pileus Git - ~andy/linux/commit
nfsd: Convert nfsxdr to use kuids and kgids
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 2 Feb 2013 12:32:35 +0000 (04:32 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 14:16:05 +0000 (06:16 -0800)
commit7c19723e997a3990951c0db0500009fb90c0c5b9
tree6e25620cdb39019daa1b37df2d3888051670fa1d
parent458878a705c822a6be267977e435b16576bde59b
nfsd: Convert nfsxdr to use kuids and kgids

When reading uids and gids off the wire convert them to
kuids and kgids.  If the conversion results in an invalid
result don't set the ATTR_UID or ATTR_GID.

When putting kuids and kgids onto the wire first convert
them to uids and gids the other side will understand.

Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/nfsd/nfsxdr.c