]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tools/cephfs/JournalTool: remove extraneous 0x in debug output
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 8 Jun 2024 19:19:27 +0000 (15:19 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 24 Jun 2024 15:51:42 +0000 (11:51 -0400)
Looked like:

    recover_dentries: updating root 0x0x1

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 7599d47c7ca05e0569868959b3f5534e2e5455ca)

src/tools/cephfs/JournalTool.cc

index 6bca9bb08167b960111efe2b2f727cffef15f950..a17b61abb45ab7bea8935aab247ee00656ed3135 100644 (file)
@@ -1007,7 +1007,7 @@ int JournalTool::recover_dentries(
    */
   for (const auto& fb : metablob.roots) {
     inodeno_t ino = fb.inode->ino;
-    dout(4) << "updating root 0x" << std::hex << ino << std::dec << dendl;
+    dout(4) << "updating root " << ino << dendl;
 
     object_t root_oid = InodeStore::get_object_name(ino, frag_t(), ".inode");
     dout(4) << "object id " << root_oid.name << dendl;
@@ -1238,7 +1238,7 @@ int JournalTool::consume_inos(const std::set<inodeno_t> &inos)
     {
       const inodeno_t ino = *i;
       if (ino_table.force_consume(ino)) {
-        dout(4) << "Used ino 0x" << std::hex << ino << std::dec
+        dout(4) << "Used ino " << ino
           << " requires inotable update" << dendl;
         inotable_modified = true;
       }