]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/messages/MClientCaps.h
update sources to v12.1.0
[ceph.git] / ceph / src / messages / MClientCaps.h
index 1db9bd16b625ac24e89382a0c863f4cfa7c53f7c..e973b63413818eadcf5e0f55557841a077a43f8c 100644 (file)
@@ -288,6 +288,7 @@ public:
     ::encode(head, payload);
     ceph_mds_caps_body_legacy body;
     if (head.op == CEPH_CAP_OP_EXPORT) {
+      memset(&body, 0, sizeof(body));
       body.peer = peer;
     } else {
       body.size = size;