From: Yunchuan Wen Date: Fri, 27 Nov 2015 01:29:15 +0000 (+0800) Subject: librbd: fix tracepoint parameter X-Git-Tag: v10.0.2~65^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=09c0d8da235a34e441d1f4104827070ba02159e2;p=ceph.git librbd: fix tracepoint parameter Signed-off-by: Yunchuan Wen --- 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);