/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _BCACHEFS_RECOVERY_PASSES_TYPES_H #define _BCACHEFS_RECOVERY_PASSES_TYPES_H #define PASS_SILENT … #define PASS_FSCK … #define PASS_UNCLEAN … #define PASS_ALWAYS … #define PASS_ONLINE … /* * Passes may be reordered, but the second field is a persistent identifier and * must never change: */ #define BCH_RECOVERY_PASSES() … \ /* We normally enumerate recovery passes in the order we run them: */ enum bch_recovery_pass { … }; /* But we also need stable identifiers that can be used in the superblock */ enum bch_recovery_pass_stable { … }; #endif /* _BCACHEFS_RECOVERY_PASSES_TYPES_H */