]> 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)
commit4911b0b12af17518894e92cff3a7c9367d304db3
tree6e25620cdb39019daa1b37df2d3888051670fa1d
parent6ce0999e8bdbbfce17fcf1c59a02613095849ab0
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