Commit 84464e57 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: Be less restrictive when validating journal overwrite entries

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent a2b9a5b2
......@@ -661,7 +661,7 @@ static int journal_entry_overwrite_validate(struct bch_fs *c,
struct jset_entry *entry,
unsigned version, int big_endian, int write)
{
return journal_entry_btree_keys_validate(c, jset, entry, version, big_endian, write);
return journal_entry_btree_keys_validate(c, jset, entry, version, big_endian, READ);
}
static void journal_entry_overwrite_to_text(struct printbuf *out, struct bch_fs *c,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment