ceph: Convert struct ceph_mds_request to use kuid_t and kgid_t
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 31 Jan 2013 12:01:53 +0000 (04:01 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 12 Feb 2013 11:19:26 +0000 (03:19 -0800)
commitff3d0046625c1b37df37beb8477135d44dae2823
tree12bc59ac72e525d5f5dae65e28ebc1439efe0126
parentab871b903e9095772c219b512d9eae96c4663a5d
ceph: Convert struct ceph_mds_request to use kuid_t and kgid_t

Hold the uid and gid for a pending ceph mds request using the types
kuid_t and kgid_t.  When a request message is finally created convert
the kuid_t and kgid_t values into uids and gids in the initial user
namespace.

Cc: Sage Weil <sage@inktank.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/ceph/mds_client.c
fs/ceph/mds_client.h