Skip to content
Snippets Groups Projects
Commit 9773547b authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Convert disk accounting BUG_ON() to WARN_ON()


We had a bug where disk accounting keys didn't always have their version
field set in journal replay; change the BUG_ON() to a WARN(), and
exclude this case since it's now checked for elsewhere (in the bkey
validate function).

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent a3581ca3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment