]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: fix tracepoint parameter 6716/head 6892/head
authorYunchuan Wen <yunchuan.wen@kylin-cloud.com>
Fri, 27 Nov 2015 01:29:15 +0000 (09:29 +0800)
committerYunchuan Wen <yunchuan.wen@kylin-cloud.com>
Fri, 27 Nov 2015 01:31:00 +0000 (09:31 +0800)
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
src/librbd/librbd.cc

index e322ad5d167ab150223eaef4c3a3b35bf84601e5..8986b8f86640c7e22672b7a258ba63cc8601af05 100644 (file)
@@ -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);