From 09c0d8da235a34e441d1f4104827070ba02159e2 Mon Sep 17 00:00:00 2001 From: Yunchuan Wen Date: Fri, 27 Nov 2015 09:29:15 +0800 Subject: [PATCH] librbd: fix tracepoint parameter Signed-off-by: Yunchuan Wen --- src/librbd/librbd.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librbd/librbd.cc b/src/librbd/librbd.cc index e322ad5d167a..8986b8f86640 100644 --- a/src/librbd/librbd.cc +++ b/src/librbd/librbd.cc @@ -831,7 +831,7 @@ namespace librbd { ImageCtx *ictx = (ImageCtx *)ctx; tracepoint(librbd, diff_iterate_enter, ictx, ictx->name.c_str(), ictx->snap_name.c_str(), ictx->read_only, fromsnapname, ofs, len, - true, true); + true, false); int r = librbd::diff_iterate(ictx, fromsnapname, ofs, len, true, false, cb, arg); tracepoint(librbd, diff_iterate_exit, r); @@ -1959,7 +1959,7 @@ extern "C" int rbd_diff_iterate(rbd_image_t image, librbd::ImageCtx *ictx = (librbd::ImageCtx *)image; tracepoint(librbd, diff_iterate_enter, ictx, ictx->name.c_str(), ictx->snap_name.c_str(), ictx->read_only, fromsnapname, ofs, len, - true, true); + true, false); int r = librbd::diff_iterate(ictx, fromsnapname, ofs, len, true, false, cb, arg); tracepoint(librbd, diff_iterate_exit, r); -- 2.47.3