]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd/migration: minor cleanup to QCOWFormat code
authorJason Dillaman <dillaman@redhat.com>
Wed, 27 Jan 2021 13:32:45 +0000 (08:32 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 27 Jan 2021 18:34:08 +0000 (13:34 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 6cd7e84293d27168fcf1b86bf058722c7736c1ec)

src/librbd/migration/QCOWFormat.cc

index 642e3114ffa0ece3468be4d208743c61db327ea0..0499fa2a97c2f4fa322c7d74f6fb8fc5c5e4c3d1 100644 (file)
@@ -449,8 +449,8 @@ private:
           }
         }
 
-          ldout(cct, 20) << "l2_offset=" << l2_offset << ", "
-                         << "index=" << idx << dendl;
+        ldout(cct, 20) << "l2_offset=" << l2_offset << ", " << "index=" << idx
+                       << dendl;
         *l2_table = l2_cache.l2_table;
         return 0;
       }
@@ -1156,7 +1156,7 @@ void QCOWFormat<I>::handle_read_v2_header(int r, Context* on_finish) {
                  << "cluster_bits=" << m_cluster_bits << ", "
                  << "l1_table_offset=" << m_l1_table_offset << ", "
                  << "snapshot_count=" << m_snapshot_count << ", "
-                 << "snapshot_offset=" << m_snapshots_offset << dendl;
+                 << "snapshots_offset=" << m_snapshots_offset << dendl;
 
   // allocate memory for L1 table and L2 + cluster caches
   m_l2_table_cache = std::make_unique<L2TableCache>(this);