From: Sage Weil Date: Sat, 1 Jun 2013 00:18:12 +0000 (-0700) Subject: mon/MonCap: set text in set_allow_all() X-Git-Tag: v0.65~136^2^2~31 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5e90e6c87d0edade8fcefd58531ffb593158b7a8;p=ceph.git mon/MonCap: set text in set_allow_all() This will let the cap encode/decode to the same value. Signed-off-by: Sage Weil --- diff --git a/src/mon/MonCap.cc b/src/mon/MonCap.cc index 9a53bf2f741..6f982f6fbab 100644 --- a/src/mon/MonCap.cc +++ b/src/mon/MonCap.cc @@ -235,6 +235,7 @@ void MonCap::set_allow_all() { grants.clear(); grants.push_back(MonCapGrant(MON_CAP_ANY)); + text = "allow *"; } bool MonCap::is_capable(CephContext *cct,