bcachefs: Fix for hash_redo_key() in fsck
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 10 Feb 2021 00:54:40 +0000 (19:54 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:53 +0000 (17:08 -0400)
commiteaf798317aa8fe3c8417ae1414c0b0bc58748881
treeb9ca4748b89577166851aa63c10b2f896fd2c8ee
parent6a16ad951ae4cb01dbfe73e8aa63045ee07e4581
bcachefs: Fix for hash_redo_key() in fsck

It's possible we're calling hash_redo_key() because of a duplicate key -
easiest fix for that is to just not use BCH_HASH_SET_MUST_CREATE.

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