]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: updated API for calc_snap_set_diff
authorJason Dillaman <dillaman@redhat.com>
Sun, 6 Mar 2016 18:03:52 +0000 (13:03 -0500)
committerJason Dillaman <dillaman@redhat.com>
Sun, 13 Mar 2016 03:40:15 +0000 (22:40 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/DiffIterate.cc

index 31657d726a40aad280cb9cc98b86c0459c67187a..df8287d5c7181274502ef7b4b539827ca9a3526d 100644 (file)
@@ -125,9 +125,11 @@ private:
 
     // calc diff from from_snap_id -> to_snap_id
     interval_set<uint64_t> diff;
+    uint64_t end_size;
     bool end_exists;
     calc_snap_set_diff(cct, m_snap_set, m_diff_context.from_snap_id,
-                       m_diff_context.end_snap_id, &diff, &end_exists);
+                       m_diff_context.end_snap_id, &diff, &end_size,
+                       &end_exists);
     ldout(cct, 20) << "  diff " << diff << " end_exists=" << end_exists
                    << dendl;
     if (diff.empty()) {