]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/client/MetaRequest.h
update ceph source to reef 18.2.0
[ceph.git] / ceph / src / client / MetaRequest.h
index ea39306608254e371003b055d4d5aae7f65120a8..a1c9f94598bd96f6734f80e077e4809cc54a93d0 100644 (file)
@@ -163,7 +163,7 @@ public:
   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();
   }