summaryrefslogtreecommitdiff
path: root/fs/bcachefs/sb-downgrade.h
blob: 57e6c916fc738b2605929eec5811844fd772f70d (plain)
1
2
3
4
5
6
7
8
9
10
11
/* 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 *);
void bch2_sb_set_upgrade(struct bch_fs *, unsigned, unsigned);
void bch2_sb_set_downgrade(struct bch_fs *, unsigned, unsigned);

#endif /* _BCACHEFS_SB_DOWNGRADE_H */