diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-06-17 13:08:35 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-06-17 13:35:19 -0400 |
commit | bbc3a0b17a890aa19bddd0f9b08e8af488f1ec94 (patch) | |
tree | 5cdcbcad12bd2f32dba0877d7321ecf75432d470 /scripts/lib/kdoc/kdoc_parser.py | |
parent | e1f0e1a45a40f45ed615abf938cbdfeb7793a9ee (diff) |
bcachefs: fsck: Fix check_directory_structure when no check_dirents
check_directory_structure runs after check_dirents, so it expects that
it won't see any inodes with missing backpointers - normally.
But online fsck can't run check_dirents yet, or the user might only be
running a specific pass, so we need to be careful that this isn't an
error. If an inode is unreachable, that's handled by a separate pass.
Also, add a new 'bch2_inode_has_backpointer()' helper, since we were
doing this inconsistently.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions