xref: /linux/fs/bcachefs/sb-downgrade.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_SB_DOWNGRADE_H
3 #define _BCACHEFS_SB_DOWNGRADE_H
4 
5 extern const struct bch_sb_field_ops bch_sb_field_ops_downgrade;
6 
7 int bch2_sb_downgrade_update(struct bch_fs *);
8 void bch2_sb_set_upgrade(struct bch_fs *, unsigned, unsigned);
9 int bch2_sb_set_upgrade_extra(struct bch_fs *);
10 void bch2_sb_set_downgrade(struct bch_fs *, unsigned, unsigned);
11 
12 #endif /* _BCACHEFS_SB_DOWNGRADE_H */
13