Skip to content

Commit 10e4ccb

Browse files
mds/ScrubStack: avoid generating inode path since it is unused
Signed-off-by: Rishabh Dave <[email protected]>
1 parent e4c301b commit 10e4ccb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/mds/ScrubStack.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,8 +508,6 @@ void ScrubStack::scrub_dirfrag(CDir *dir, bool *done)
508508
++it; /* trim (in the future) may remove dentry */
509509

510510
if (dn->scrub(next_seq)) {
511-
std::string path;
512-
dir->get_inode()->make_path_string(path, true);
513511
clog->warn() << "Scrub error on dentry " << *dn
514512
<< " see " << g_conf()->name
515513
<< " log and `damage ls` output for details";

0 commit comments

Comments
 (0)