Skip to content
Commit db0667a4 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Go RW earlier, for normal rw mount



Previously, when mounting read-write after a clean shutdown, we wouldn't
go read-write until after all the recovery passes completed.

Now, go RW early in recovery, the same as any other situation we'll need
to go read-write. This fixes a bug where we discover unlinked inodes
after a clean shutdown: repair fails because we're read only.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent d9415976
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment