Commit d8e87937 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Add hash seed, type to inode_to_text()



This helped with discovering some filesystem corruption fsck has having
trouble with: the str_hash type had gotten flipped on one snapshot's
version of an inode.

All versions of a given inode number have the same hash seed and hash
type, since lookups will be done with a single hash/seed and type and
see dirents/xattrs from multiple snapshots.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 78cf0ae6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment