]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: Convert nfs4xdr to use kuids and kgids
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 1 Feb 2013 22:22:02 +0000 (14:22 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 14:15:32 +0000 (06:15 -0800)
commitb0524f6e62644d256674aa75299e5e4e43f2a557
treeb5815262f6f8cbb9a037fdc2b8f88ef6b35de99d
parenta88079f84637d494566d3dae83d2e734ad2a0ff8
nfs: Convert nfs4xdr 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.

When printing kuids and kgids convert them to values in
the initial user namespace then use normal printf formats.

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/nfs4xdr.c