]> 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, 10 Jun 2024 16:55:56 +0000 (12:55 -0400)
Looked like:

    recover_dentries: updating root 0x0x1

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/tools/cephfs/JournalTool.cc

index 021ad7fdea407d0d37db04866623473ef9b2caef..f62b73f4094e9a6f0d92a5ea79ef0641a9e49b09 100644 (file)
@@ -1034,7 +1034,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;
@@ -1265,7 +1265,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;
       }