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

source code of linux/fs/bcachefs/sb-clean.h