]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: Monitor: reply_command() wrapper for ops
authorJoao Eduardo Luis <joao@suse.de>
Wed, 17 Jun 2015 14:53:12 +0000 (15:53 +0100)
committerJoao Eduardo Luis <joao@suse.de>
Thu, 16 Jul 2015 17:06:08 +0000 (18:06 +0100)
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
src/mon/Monitor.cc
src/mon/Monitor.h

index 4e4f7a61478abb567eb07bcbb24009ac0a328081..42d29e05359845e26c10c8dfda3090e9b8686575 100644 (file)
@@ -3020,6 +3020,12 @@ void Monitor::reply_command(MMonCommand *m, int rc, const string &rs, bufferlist
   send_reply(m, reply);
 }
 
+void Monitor::reply_command(MonOpRequestRef op, int rc, const string &rs, version_t version)
+{
+  bufferlist rdata;
+  reply_command(op, rc, rs, rdata, version);
+}
+
 void Monitor::reply_command(MonOpRequestRef op, int rc, const string &rs,
                             bufferlist& rdata, version_t version)
 {
index 52b7c5e674958126dec83444e05013960b1c429d..38638b8c3bef4aef66a9f274727b4ff1266120a0 100644 (file)
@@ -761,6 +761,7 @@ public:
 
   void reply_command(MMonCommand *m, int rc, const string &rs, version_t version);
   void reply_command(MMonCommand *m, int rc, const string &rs, bufferlist& rdata, version_t version);
+  void reply_command(MonOpRequestRef op, int rc, const string &rs, version_t version);
   void reply_command(MonOpRequestRef op, int rc, const string &rs, bufferlist& rdata, version_t version);