9p: Modify the stat structures to use kuid_t and kgid_t
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 30 Jan 2013 00:18:50 +0000 (16:18 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 12 Feb 2013 11:19:31 +0000 (03:19 -0800)
commit447c50943fd008755122c7a62bac068e73c1cf2c
tree426cd65ce6dc68aebd9185602560c7c30eb48272
parentf791f7c5e354870eaa5e31c4038c6723683283f1
9p: Modify the stat structures to use kuid_t and kgid_t

9p has thre strucrtures that can encode inode stat information.  Modify
all of those structures to contain kuid_t and kgid_t values.  Modify
he wire encoders and decoders of those structures to use 'u' and 'g' instead of
'd' in the format string where uids and gids are present.

This results in all kuid and kgid conversion to and from on the wire values
being performed by the same code in protocol.c where the client is known
at the time of the conversion.

Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@gmail.com>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
fs/9p/vfs_inode.c
include/net/9p/9p.h
net/9p/client.c
net/9p/protocol.c