From 744160d784463dd6220707c3bcc96a2194997aab Mon Sep 17 00:00:00 2001 From: John Spray Date: Wed, 23 Aug 2017 14:52:22 +0100 Subject: [PATCH] client: fix compat version on MStatfs Fixes: http://tracker.ceph.com/issues/21078 Signed-off-by: John Spray --- src/messages/MStatfs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/messages/MStatfs.h b/src/messages/MStatfs.h index a27ef9b5427..ec18cfff04f 100644 --- a/src/messages/MStatfs.h +++ b/src/messages/MStatfs.h @@ -22,13 +22,13 @@ class MStatfs : public PaxosServiceMessage { static const int HEAD_VERSION = 2; - static const int COMPAT_VERSION = 0; + static const int COMPAT_VERSION = 1; public: uuid_d fsid; boost::optional data_pool; - MStatfs() : PaxosServiceMessage(CEPH_MSG_STATFS, 0, HEAD_VERSION) {} + MStatfs() : PaxosServiceMessage(CEPH_MSG_STATFS, 0, HEAD_VERSION, COMPAT_VERSION) {} MStatfs(const uuid_d& f, ceph_tid_t t, boost::optional _data_pool, version_t v) : PaxosServiceMessage(CEPH_MSG_STATFS, v, HEAD_VERSION, COMPAT_VERSION), -- 2.39.5