]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mds/ScrubStack: avoid generating inode path since it is unused rishabh-rmtree-33
authorRishabh Dave <ridave@redhat.com>
Mon, 22 Sep 2025 09:07:10 +0000 (14:37 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 26 Sep 2025 18:33:01 +0000 (00:03 +0530)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/mds/ScrubStack.cc

index 9c401f14aab72b327df6c61e44565cf4d6bc1a6b..81fccd76212a9a6f96b6958e35ca7d70f58b2de0 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";