]> git.baikalelectronics.ru Git - kernel.git/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)
commit22d3d83d4d1395e24438a1c6ce545c4e4b413a88
tree6e25620cdb39019daa1b37df2d3888051670fa1d
parentda9cc3e6e9ece80010ecec8e19fe0f5f45a6990f
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