]> Pileus Git - ~andy/linux/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)
commite5782076e72be2a39bf261f7db03e1769ec05198
treeb5815262f6f8cbb9a037fdc2b8f88ef6b35de99d
parent57a38dae2ac3f3d618bf197314e2805840220d0f
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