summaryrefslogtreecommitdiff
path: root/src/messages
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-05-16 16:04:19 -0700
committerSage Weil <sage@inktank.com>2012-05-16 16:04:19 -0700
commit7aaccacff67c283144fac7fd501357a2616fd2ca (patch)
treed194bd5b310fcd4dd543aeaa366db63acbe75550 /src/messages
parent067cd5fb48e7db8360cf4bc992fa6462e43a93f1 (diff)
downloadceph-7aaccacff67c283144fac7fd501357a2616fd2ca.tar.gz
features: explicitly use CEPH_FEATURES_ALL instead of -1
Make it clear to readers what that -1 is all about. Alex would be proud. Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/messages')
-rw-r--r--src/messages/MMonElection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages/MMonElection.h b/src/messages/MMonElection.h
index 5adf6ff432b..b35cbd566b5 100644
--- a/src/messages/MMonElection.h
+++ b/src/messages/MMonElection.h
@@ -48,7 +48,7 @@ public:
MMonElection(int o, epoch_t e, MonMap *m) :
Message(MSG_MON_ELECTION, HEAD_VERSION),
fsid(m->fsid), op(o), epoch(e) {
- m->encode(monmap_bl, -1);
+ m->encode(monmap_bl, CEPH_FEATURES_ALL);
}
private:
~MMonElection() {}