diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-08 21:47:34 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-21 01:36:23 -0500 |
| commit | 6ea607ca61475f9281191dab9d5f8a61baee1c4f (patch) | |
| tree | 623dfcd9804eb6c1fca456809c420cdc3d941c6d /fs/bcachefs/snapshot.c | |
| parent | bcachefs: Don't BUG_ON() inode unpack error (diff) | |
| download | linux-6ea607ca61475f9281191dab9d5f8a61baee1c4f.tar.gz linux-6ea607ca61475f9281191dab9d5f8a61baee1c4f.zip | |
bcachefs: bch2_str_hash_check_key() now checks inode hash info
Versions of the same inode in different snapshots must have the same
hash info; this is critical for lookups to work correctly.
We're going to be running the str_hash checks online, at readdir or
xattr list time, so we now need str_hash_check_key() to check for inode
hash seed mismatches, since it won't be run right after check_inodes().
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/snapshot.c')
0 files changed, 0 insertions, 0 deletions
