From: Sage Weil Date: Tue, 23 Feb 2016 15:26:15 +0000 (-0500) Subject: fix init of new fields in MCLientCaps X-Git-Tag: v10.1.0~241^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fafb14212df02bbb75c132d223f7cf5a5094a3c2;p=ceph.git fix init of new fields in MCLientCaps --- diff --git a/src/messages/MClientCaps.h b/src/messages/MClientCaps.h index 837853dca7cc..145eced46b70 100644 --- a/src/messages/MClientCaps.h +++ b/src/messages/MClientCaps.h @@ -107,6 +107,11 @@ class MClientCaps : public Message { MClientCaps() : Message(CEPH_MSG_CLIENT_CAPS, HEAD_VERSION, COMPAT_VERSION), + size(0), + max_size(0), + truncate_size(0), + truncate_seq(0), + time_warp_seq(0), osd_epoch_barrier(0), oldest_flush_tid(0), caller_uid(0), caller_gid(0) { @@ -123,6 +128,11 @@ class MClientCaps : public Message { int mseq, epoch_t oeb) : Message(CEPH_MSG_CLIENT_CAPS, HEAD_VERSION, COMPAT_VERSION), + size(0), + max_size(0), + truncate_size(0), + truncate_seq(0), + time_warp_seq(0), osd_epoch_barrier(oeb), oldest_flush_tid(0), caller_uid(0), caller_gid(0) { @@ -143,6 +153,11 @@ class MClientCaps : public Message { inodeno_t ino, inodeno_t realm, uint64_t id, int mseq, epoch_t oeb) : Message(CEPH_MSG_CLIENT_CAPS, HEAD_VERSION, COMPAT_VERSION), + size(0), + max_size(0), + truncate_size(0), + truncate_seq(0), + time_warp_seq(0), osd_epoch_barrier(oeb), oldest_flush_tid(0), caller_uid(0), caller_gid(0) {