nfs: Convert nfs2xdr to use kuids and kgids
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 1 Feb 2013 11:45:54 +0000 (03:45 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 14:15:30 +0000 (06:15 -0800)
commitcfa0898d4ff1874b86d21768adb49d2c033fa90b
treec8e0b3fb4d7fb83141e41a2c1a59a0dbea685013
parent9f309c86cf343c59c79d25d9bde5d4a895d2e81f
nfs: Convert nfs2xdr 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 for incoming uid 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/nfs2xdr.c