Lines Matching refs:clean
473 struct bch_sb_field_clean *clean) in journal_replay_early() argument
475 if (clean) { in journal_replay_early()
476 for (struct jset_entry *entry = clean->start; in journal_replay_early()
477 entry != vstruct_end(&clean->field); in journal_replay_early()
633 struct bch_sb_field_clean *clean = NULL; in bch2_fs_recovery() local
638 if (c->sb.clean) { in bch2_fs_recovery()
639 clean = bch2_read_superblock_clean(c); in bch2_fs_recovery()
640 ret = PTR_ERR_OR_ZERO(clean); in bch2_fs_recovery()
645 le64_to_cpu(clean->journal_seq)); in bch2_fs_recovery()
656 if (!c->sb.clean && in bch2_fs_recovery()
720 if (c->sb.clean) in bch2_fs_recovery()
731 if (!c->sb.clean || c->opts.retain_recovery_info) { in bch2_fs_recovery()
753 if (mustfix_fsck_err_on(c->sb.clean && in bch2_fs_recovery()
760 c->sb.clean = false; in bch2_fs_recovery()
764 fsck_err_on(!c->sb.clean, c, in bch2_fs_recovery()
767 if (clean) in bch2_fs_recovery()
790 if (c->sb.clean && last_journal_entry) { in bch2_fs_recovery()
791 ret = bch2_verify_superblock_clean(c, &clean, in bch2_fs_recovery()
798 if (!clean) { in bch2_fs_recovery()
804 blacklist_seq = journal_seq = le64_to_cpu(clean->journal_seq) + 1; in bch2_fs_recovery()
815 ret = journal_replay_early(c, clean); in bch2_fs_recovery()
826 if (!c->sb.clean) in bch2_fs_recovery()
850 if (c->sb.encryption_type && !c->sb.clean) in bch2_fs_recovery()
988 if (!IS_ERR(clean)) in bch2_fs_recovery()
989 kfree(clean); in bch2_fs_recovery()