]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: always use send_reply for auth replies
authorSage Weil <sage@newdream.net>
Tue, 23 Nov 2010 06:41:57 +0000 (22:41 -0800)
committerSage Weil <sage@newdream.net>
Tue, 23 Nov 2010 06:41:57 +0000 (22:41 -0800)
Signed-off-by: Sage Weil <sage@newdream.net>
src/mon/AuthMonitor.cc

index 5250cbe24e63f221dc05f1c333d9bf0a30e67331..5c1bfc04aaa9ac9cfaf7f46c35bda734e84bc546 100644 (file)
@@ -443,7 +443,7 @@ bool AuthMonitor::prep_auth(MAuth *m, bool paxos_writable)
 
 reply:
   reply = new MAuthReply(proto, &response_bl, ret, s->global_id);
-  mon->messenger->send_message(reply, m->get_orig_source_inst());
+  mon->send_reply(m, reply);
   m->put();
 done:
   s->put();