mirror of
https://github.com/torvalds/linux.git
synced 2026-06-06 21:45:45 +02:00
bcachefs: Read journal when keep_journal on
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
56a40fbc4e
commit
5a655f06c9
|
|
@ -820,7 +820,7 @@ int bch2_fs_recovery(struct bch_fs *c)
|
|||
set_bit(BCH_FS_REBUILD_REPLICAS, &c->flags);
|
||||
}
|
||||
|
||||
if (!c->sb.clean || c->opts.fsck) {
|
||||
if (!c->sb.clean || c->opts.fsck || c->opts.keep_journal) {
|
||||
struct jset *j;
|
||||
|
||||
ret = bch2_journal_read(c, &c->journal_entries);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user