]> www.infradead.org Git - users/hch/dma-mapping.git/commit
bcachefs: Repair mismatches in inode hash seed, type
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 18 Oct 2024 03:00:14 +0000 (23:00 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 18 Oct 2024 04:49:48 +0000 (00:49 -0400)
commit15a3836c8ed7bf102159e70ed380b8158651df8e
treecd7e26aa0936562a7b79defa0847ac608c5d6bea
parentd8e879377ffb37ba0d3afa0c92bd3b88b849a0a9
bcachefs: Repair mismatches in inode hash seed, type

Different versions of the same inode (same inode number, different
snapshot ID) must have the same hash seed and type - lookups require
this, since they see keys from different snapshots simultaneously.

To repair we only need to make the inodes consistent, hash_check_key()
will do the rest.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fsck.c