From 8ae6719909629e34ca56040bef61bb5230f8da08 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 6 Jul 2009 12:08:35 -0700 Subject: [PATCH] osd: no need for RMW flags in op reply In particular, they may not have even been calculated when we reply to the message. --- src/messages/MOSDOpReply.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/messages/MOSDOpReply.h b/src/messages/MOSDOpReply.h index b28c8368c337a..55fa0e841cfbd 100644 --- a/src/messages/MOSDOpReply.h +++ b/src/messages/MOSDOpReply.h @@ -67,7 +67,6 @@ public: head.client_inc = req->head.client_inc; ops = req->ops; head.result = result; - acktype |= req->get_rmw_flags(); head.flags = (req->head.flags & ~(CEPH_OSD_FLAG_ONDISK|CEPH_OSD_FLAG_ONNVRAM|CEPH_OSD_FLAG_ACK)) | acktype; oid = req->oid; -- 2.39.5