Commit b3eba6a4 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix degraded mode fsck



We don't know where the superblock and journal lives on offline devices;
that means if a device is offline fsck can't check those buckets.

Previously, fsck would incorrectly clear bucket data types for those
buckets on offline devices; now we just use the previous state.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent ba89083e
Supports Markdown
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