Skip to content
Snippets Groups Projects
Commit c7da5ee2 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Check for unlinked inodes with dirents


link count works differently in bcachefs - it's only nonzero for files
with multiple hardlinks, which means we can also avoid checking it
except for files that are known to have hardlinks.

That means we need a few different checks instead; in particular, we
don't want fsck to delet a file that has a dirent pointing to it.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 1c6051bb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment