mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-16 20:48:05 +00:00
bcachefs: Fix for running in degraded mode
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
db636adb2e
commit
57cb2142ed
@ -1036,7 +1036,7 @@ done:
|
||||
spin_unlock(&j->lock);
|
||||
rcu_read_unlock();
|
||||
|
||||
return replicas >= replicas_want ? 0 : -EROFS;
|
||||
return replicas >= c->opts.metadata_replicas_required ? 0 : -EROFS;
|
||||
}
|
||||
|
||||
static void journal_write_compact(struct jset *jset)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user