]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/ScrubStack: set added_children to true for dirfrags too 68686/head
authorRishabh Dave <ridave@redhat.com>
Thu, 30 Apr 2026 07:18:11 +0000 (12:48 +0530)
committerVenky Shankar <vshankar@redhat.com>
Thu, 14 May 2026 09:30:05 +0000 (15:00 +0530)
Introduced-by: 9e83e1c
Fixes: https://tracker.ceph.com/issues/76321
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/mds/ScrubStack.cc

index 706473e7536c18dba5a449e7a0d64e60200441ad..8512cde4784ad3b9d7e4da2942e8845a8ad5422b 100644 (file)
@@ -541,6 +541,7 @@ void ScrubStack::scrub_dirfrag(CDir *dir, bool *added_children, bool *done)
       }
       if (dnl->is_primary()) {
        _enqueue(dnl->get_inode(), header, false);
+        *added_children = true;
       } else if (dnl->is_remote()) {
         identify_remote_link_damage(dn);
       }