xref: /linux/fs/bcachefs/sb-clean.h (revision 55f1b540d893da740a81200450014c45a8103f54)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_SB_CLEAN_H
3 #define _BCACHEFS_SB_CLEAN_H
4 
5 int bch2_sb_clean_validate_late(struct bch_fs *, struct bch_sb_field_clean *, int);
6 int bch2_verify_superblock_clean(struct bch_fs *, struct bch_sb_field_clean **,
7 				 struct jset *);
8 struct bch_sb_field_clean *bch2_read_superblock_clean(struct bch_fs *);
9 void bch2_journal_super_entries_add_common(struct bch_fs *, struct jset_entry **, u64);
10 
11 extern const struct bch_sb_field_ops bch_sb_field_ops_clean;
12 
13 int bch2_fs_mark_dirty(struct bch_fs *);
14 void bch2_fs_mark_clean(struct bch_fs *);
15 
16 #endif /* _BCACHEFS_SB_CLEAN_H */
17