bcachefs: bch2_accounting_invalid()
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 9 Aug 2024 03:19:59 +0000 (23:19 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 9 Aug 2024 18:40:19 +0000 (14:40 -0400)
commit077e47372309dcbe3a150754ea9c6f15cc838d6b
tree55f6d55394b5c89824c543e67680f9d686360e98
parentf39bae2e028b841732ca81d8131d27b48a6051ad
bcachefs: bch2_accounting_invalid()

Implement bch2_accounting_invalid(); check for junk at the end, and
replicas accounting entries in particular need to be checked or we'll
pop asserts later.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/disk_accounting.c
fs/bcachefs/disk_accounting_format.h
fs/bcachefs/replicas.c
fs/bcachefs/sb-errors_format.h