From bb3447686e72cf34a9b73d5d3b2e9088a5d03bc9 Mon Sep 17 00:00:00 2001 From: Rishabh Dave Date: Mon, 22 Sep 2025 14:37:10 +0530 Subject: [PATCH] md/ScrubStack: don't generate path for inode since it's unused. Signed-off-by: Rishabh Dave --- src/mds/ScrubStack.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mds/ScrubStack.cc b/src/mds/ScrubStack.cc index 69dcabbcfcf..91b9a8a82d5 100644 --- a/src/mds/ScrubStack.cc +++ b/src/mds/ScrubStack.cc @@ -508,8 +508,6 @@ void ScrubStack::scrub_dirfrag(CDir *dir, bool *done) ++it; /* trim (in the future) may remove dentry */ if (dn->scrub(next_seq)) { - std::string path; - dir->get_inode()->make_path_string(path, true); clog->warn() << "Scrub error on dentry " << *dn << " see " << g_conf()->name << " log and `damage ls` output for details"; -- 2.39.5