]> git.sesse.net Git - bcachefs-tools-debian/blob - c_src/libbcachefs/sb-clean.h
71caef2812398c524ebfb35c1842b9c504492d70
[bcachefs-tools-debian] / c_src / libbcachefs / sb-clean.h
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 */