]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: bch2_readdir() now calls str_hash_check_key()
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 28 May 2025 20:34:42 +0000 (16:34 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 1 Jun 2025 02:03:17 +0000 (22:03 -0400)
commitf402d9710b3e55fa2e47a939f69e4267d6d4406f
tree9849ad6fef7c744a3f7bf7be04493208285e43b2
parenta5922682602788a0f9b37d58e15d7247ad6c54d4
bcachefs: bch2_readdir() now calls str_hash_check_key()

More self healing code: readdir will now notice if there are dirents
hashed incorrectly, and it'll repair them if errors=fix_safe.

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