mirror of
https://github.com/ceph/ceph
synced 2025-03-29 23:09:47 +00:00
kclient: use current->e[ug]id
This commit is contained in:
parent
8a0ba55520
commit
ed364e1b7f
@ -764,8 +764,10 @@ ceph_mdsc_create_request(struct ceph_mds_client *mdsc, int op,
|
||||
/* head->retry_attempt = 0; set by do_request */
|
||||
head->mds_wants_replica_in_dirino = 0;
|
||||
head->op = cpu_to_le32(op);
|
||||
head->caller_uid = cpu_to_le32(current->uid);
|
||||
head->caller_gid = cpu_to_le32(current->gid);
|
||||
head->caller_uid = cpu_to_le32(current->euid);
|
||||
head->caller_gid = cpu_to_le32(current->egid);
|
||||
dout(10, "create_request euid.egid %d.%d\n",
|
||||
current->euid, current->egid);
|
||||
|
||||
/* encode paths */
|
||||
ceph_encode_filepath(&p, end, ino1, path1);
|
||||
|
Loading…
Reference in New Issue
Block a user