diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-11-01 06:39:12 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2021-11-01 06:39:12 -0400 |
commit | 0da2d968eb7d78417693347597ce091a515f646b (patch) | |
tree | 3ab44769d7a4ac7c3320afaf2016aca9166396ab /libbcachefs/super.c | |
parent | a315a3f664f9cf5cc687738ad97210721ccde8fd (diff) |
Update bcachefs sources to 043cfba30c fixup! bcachefs: Improve transaction restart handling in fsck code
Diffstat (limited to 'libbcachefs/super.c')
-rw-r--r-- | libbcachefs/super.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbcachefs/super.c b/libbcachefs/super.c index e0c93cb5..dc8f6415 100644 --- a/libbcachefs/super.c +++ b/libbcachefs/super.c @@ -793,6 +793,9 @@ static struct bch_fs *bch2_fs_alloc(struct bch_sb *sb, struct bch_opts opts) bch2_fs_fsio_init(c)) goto err; + if (c->opts.nochanges) + set_bit(JOURNAL_NOCHANGES, &c->journal.flags); + mi = bch2_sb_get_members(c->disk_sb.sb); for (i = 0; i < c->sb.nr_devices; i++) if (bch2_dev_exists(c->disk_sb.sb, mi, i) && |