projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56a40fb
)
bcachefs: Read journal when keep_journal on
author
Kent Overstreet
<kent.overstreet@gmail.com>
Sat, 28 Mar 2020 22:26:01 +0000
(18:26 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:37 +0000
(17:08 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/recovery.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/recovery.c
b/fs/bcachefs/recovery.c
index 0c8444b5278f904f31f029401b05081007d883cf..c0e6cfa36c89a7c54c4a7351f5ca72c4903757c6 100644
(file)
--- a/
fs/bcachefs/recovery.c
+++ b/
fs/bcachefs/recovery.c
@@
-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);