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)
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

Simple merge