X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fclient%2FMetaRequest.h;h=a1c9f94598bd96f6734f80e077e4809cc54a93d0;hb=05a536ef04248702f72713fd2fe81cb055624784;hp=4dc8a53b8723479daa7459631ff36a794be4868b;hpb=2a845540123ad00df2e55947b8080306ebdcf410;p=ceph.git diff --git a/ceph/src/client/MetaRequest.h b/ceph/src/client/MetaRequest.h index 4dc8a53b8..a1c9f9459 100644 --- a/ceph/src/client/MetaRequest.h +++ b/ceph/src/client/MetaRequest.h @@ -31,6 +31,8 @@ public: ceph_mds_request_head head; filepath path, path2; std::string alternate_name; + std::vector fscrypt_auth; + std::vector fscrypt_file; bufferlist data; int inode_drop = 0; //the inode caps this operation will drop int inode_unless = 0; //unless we have these caps already @@ -154,14 +156,14 @@ public: // normal fields void set_tid(ceph_tid_t t) { tid = t; } void set_oldest_client_tid(ceph_tid_t t) { head.oldest_client_tid = t; } - void inc_num_fwd() { head.num_fwd = head.num_fwd + 1; } - void set_retry_attempt(int a) { head.num_retry = a; } + void inc_num_fwd() { head.ext_num_fwd = head.ext_num_fwd + 1; } + void set_retry_attempt(int a) { head.ext_num_retry = a; } void set_filepath(const filepath& fp) { path = fp; } void set_filepath2(const filepath& fp) { path2 = fp; } void set_alternate_name(std::string an) { alternate_name = an; } void set_string2(const char *s) { path2.set_path(std::string_view(s), 0); } void set_caller_perms(const UserPerm& _perms) { - perms.shallow_copy(_perms); + perms = _perms; head.caller_uid = perms.uid(); head.caller_gid = perms.gid(); }