Commit 0b17618f authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: check_inode_dirent_inode()



check that if an inode has a backpointer, the dirent it points to points
back to it.

We do this in check_dirent_inode_dirent(), but only for inodes that have
dirents that point to them - we also have to do the check starting from
the inode to catch inodes that don't have dirents that point to them.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent f2b02d09
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment