2023-12-31 06:54:04 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _BCACHEFS_SB_DOWNGRADE_H
|
|
|
|
#define _BCACHEFS_SB_DOWNGRADE_H
|
|
|
|
|
|
|
|
extern const struct bch_sb_field_ops bch_sb_field_ops_downgrade;
|
|
|
|
|
|
|
|
int bch2_sb_downgrade_update(struct bch_fs *);
|
2024-01-05 20:38:14 +03:00
|
|
|
void bch2_sb_set_upgrade(struct bch_fs *, unsigned, unsigned);
|
2024-06-04 00:03:54 +03:00
|
|
|
int bch2_sb_set_upgrade_extra(struct bch_fs *);
|
2024-01-05 20:38:14 +03:00
|
|
|
void bch2_sb_set_downgrade(struct bch_fs *, unsigned, unsigned);
|
2023-12-31 06:54:04 +03:00
|
|
|
|
|
|
|
#endif /* _BCACHEFS_SB_DOWNGRADE_H */
|