From 134fc1d91b644c200b51bd9b3d73159dcd417c05 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Sat, 8 Jun 2024 15:19:27 -0400 Subject: [PATCH] tools/cephfs/JournalTool: remove extraneous 0x in debug output Looked like: recover_dentries: updating root 0x0x1 Signed-off-by: Patrick Donnelly (cherry picked from commit 7599d47c7ca05e0569868959b3f5534e2e5455ca) --- src/tools/cephfs/JournalTool.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/cephfs/JournalTool.cc b/src/tools/cephfs/JournalTool.cc index 6bca9bb08167..a17b61abb45a 100644 --- a/src/tools/cephfs/JournalTool.cc +++ b/src/tools/cephfs/JournalTool.cc @@ -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 &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; } -- 2.47.3