]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit377d8b444d62daba6de5fd08bbb867a05607815c
tree426cd65ce6dc68aebd9185602560c7c30eb48272
parent156980a2f97c8563eb5b64d9b49e504144103840
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