aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2013-01-31 07:01:53 -0500
committerEric W. Biederman <ebiederm@xmission.com>2013-02-12 06:19:26 -0500
commitff3d0046625c1b37df37beb8477135d44dae2823 (patch)
tree12bc59ac72e525d5f5dae65e28ebc1439efe0126 /fs/ceph/mds_client.h
parentab871b903e9095772c219b512d9eae96c4663a5d (diff)
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>
Diffstat (limited to 'fs/ceph/mds_client.h')
-rw-r--r--fs/ceph/mds_client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ceph/mds_client.h b/fs/ceph/mds_client.h
index dd26846dd71d..ff4188bf6199 100644
--- a/fs/ceph/mds_client.h
+++ b/fs/ceph/mds_client.h
@@ -184,8 +184,8 @@ struct ceph_mds_request {
184 184
185 union ceph_mds_request_args r_args; 185 union ceph_mds_request_args r_args;
186 int r_fmode; /* file mode, if expecting cap */ 186 int r_fmode; /* file mode, if expecting cap */
187 uid_t r_uid; 187 kuid_t r_uid;
188 gid_t r_gid; 188 kgid_t r_gid;
189 189
190 /* for choosing which mds to send this request to */ 190 /* for choosing which mds to send this request to */
191 int r_direct_mode; 191 int r_direct_mode;