]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: send reply via connection for MOSDSubOps
authorGreg Farnum <gregf@hq.newdream.net>
Thu, 15 Apr 2010 20:24:45 +0000 (13:24 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Thu, 15 Apr 2010 22:58:18 +0000 (15:58 -0700)
src/osd/PG.cc

index de8f70a83afb28c789898f92d182041571172762..1196b2d5af5016875e1c40110a004ab9f4367c89 100644 (file)
@@ -2354,7 +2354,7 @@ void PG::sub_op_scrub(MOSDSubOp *op)
 
   MOSDSubOpReply *reply = new MOSDSubOpReply(op, 0, osd->osdmap->get_epoch(), CEPH_OSD_FLAG_ACK); 
   ::encode(map, reply->get_data());
-  osd->messenger->send_message(reply, op->get_source_inst());
+  osd->messenger->send_message(reply, op->get_connection());
 
   op->put();
 }