From fafb14212df02bbb75c132d223f7cf5a5094a3c2 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 23 Feb 2016 10:26:15 -0500 Subject: [PATCH] fix init of new fields in MCLientCaps --- src/messages/MClientCaps.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/messages/MClientCaps.h b/src/messages/MClientCaps.h index 837853dca7cc5..145eced46b70b 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) { -- 2.39.5