diff options
author | 2025-06-17 13:08:35 -0400 | |
---|---|---|
committer | 2025-06-17 13:35:19 -0400 | |
commit | bbc3a0b17a890aa19bddd0f9b08e8af488f1ec94 (patch) | |
tree | 5cdcbcad12bd2f32dba0877d7321ecf75432d470 /rust/pin-init/internal/src | |
parent | bcachefs: Fix restart handling in btree_node_scrub_work() (diff) | |
download | wireguard-linux-bbc3a0b17a890aa19bddd0f9b08e8af488f1ec94.tar.xz wireguard-linux-bbc3a0b17a890aa19bddd0f9b08e8af488f1ec94.zip |
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 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions