]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
md/ScrubStack: don't generate path for inode since it's unused. rishabh-rmtree-31
authorRishabh Dave <ridave@redhat.com>
Mon, 22 Sep 2025 09:07:10 +0000 (14:37 +0530)
committerRishabh Dave <ridave@redhat.com>
Tue, 23 Sep 2025 06:06:24 +0000 (11:36 +0530)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/mds/ScrubStack.cc

index 69dcabbcfcf6f3d63db8ee8f7aed947a94dc010f..91b9a8a82d5d5a396f44495fac592354685d720e 100644 (file)
@@ -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";