nfs: Convert nfs3xdr to use kuids and kgids
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 1 Feb 2013 11:50:00 +0000 (03:50 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 14:15:31 +0000 (06:15 -0800)
commit57a38dae2ac3f3d618bf197314e2805840220d0f
tree3fde2a868bb468bc13684a39327d75e6b9ccd383
parentcfa0898d4ff1874b86d21768adb49d2c033fa90b
nfs: Convert nfs3xdr to use kuids and kgids

When reading uids and gids off the wire convert them to
kuids and kgids.

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

Add an additional failure mode incoming for uids or gids
that are invalid.

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