aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2024-09-28 01:05:59 +0000
committerKent Overstreet <[email protected]>2024-09-28 02:32:22 +0000
commit9773547b16b1e1b27f002733623cd0e8e6d0f69c (patch)
tree88f55796965cf434828b449b7c2537ae072336e3 /rust/helpers/helpers.c
parentbcachefs: Fix BCH_TRANS_COMMIT_skip_accounting_apply (diff)
downloadkernel-9773547b16b1e1b27f002733623cd0e8e6d0f69c.tar.gz
kernel-9773547b16b1e1b27f002733623cd0e8e6d0f69c.zip
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: Kent Overstreet <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions