The size and seq variables are out of scope.

Signed-off-by: David Disseldorp <dd...@suse.de>
---
 src/osd/ReplicatedPG.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc
index 2890af3..aed609b 100644
--- a/src/osd/ReplicatedPG.cc
+++ b/src/osd/ReplicatedPG.cc
@@ -3501,7 +3501,7 @@ int ReplicatedPG::do_osd_ops(OpContext *ctx, 
vector<OSDOp>& ops)
       // --- READS ---
 
     case CEPH_OSD_OP_CMPEXT:
-       tracepoint(osd, do_osd_op_pre_extent_cmp, soid.oid.name.c_str(), 
soid.snap.val, size, seq, op.extent.offset, op.extent.length, 
op.extent.truncate_size, op.extent.truncate_seq);
+       tracepoint(osd, do_osd_op_pre_extent_cmp, soid.oid.name.c_str(), 
soid.snap.val, oi.size, oi.truncate_seq, op.extent.offset, op.extent.length, 
op.extent.truncate_size, op.extent.truncate_seq);
         // TODO: Locking - this op and the write are supposed to be atomic
        result = do_extent_cmp(ctx, osd_op);
        break;
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to