Commit 9104fc19 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix accounting read + device removal



accounting read was checking if accounting replicas entries were marked
in the superblock prior to applying accounting from the journal,
which meant that a recently removed device could spuriously trigger a
"not marked in superblocked" error (when journal entries zero out the
offending counter).

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 1e0272ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment