From: Rishabh Dave Date: Mon, 22 Sep 2025 09:07:10 +0000 (+0530) Subject: mds/ScrubStack: avoid generating inode path since it is unused X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=10e4ccb104d84444f0047e166a9dff997c4e2736;p=ceph.git mds/ScrubStack: avoid generating inode path since it is unused Signed-off-by: Rishabh Dave --- diff --git a/src/mds/ScrubStack.cc b/src/mds/ScrubStack.cc index 9c401f14aab7..81fccd76212a 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";