From: Sage Weil Date: Thu, 3 Oct 2019 18:34:39 +0000 (-0500) Subject: osd/PrimaryLogPG: fix warning X-Git-Tag: v15.1.0~1329^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5da49f9f6dcdc43c76b8ba893387f7dd5669b1ca;p=ceph.git osd/PrimaryLogPG: fix warning Introduced by 6c1071295917818d6dcbb76fb3ca1bed9aa96226 Signed-off-by: Sage Weil --- diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index b5f899b6894..327f990c46c 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -2587,7 +2587,6 @@ void PrimaryLogPG::record_write_error(OpRequestRef op, const hobject_t &soid, void operator()() { ldpp_dout(pg, 20) << "finished " << __func__ << " r=" << r << dendl; auto m = op->get_req(); - int flags = m->get_flags() & (CEPH_OSD_FLAG_ACK | CEPH_OSD_FLAG_ONDISK); MOSDOpReply *reply = orig_reply.detach(); ldpp_dout(pg, 10) << " sending commit on " << *m << " " << reply << dendl; pg->osd->send_message_osd_client(reply, m->get_connection());