Kent Overstreet 9f8195b54c Update bcachefs sources to ce8f0c316862 bcachefs: struct bch_fs_snapshots
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-11-30 12:28:26 -05:00

20 lines
573 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _BCACHEFS_SB_ERRORS_H
#define _BCACHEFS_SB_ERRORS_H
#include "sb/errors_types.h"
extern const char * const bch2_sb_error_strs[];
void bch2_sb_error_id_to_text(struct printbuf *, enum bch_sb_error_id);
void bch2_fs_errors_to_text(struct printbuf *, struct bch_fs *);
extern const struct bch_sb_field_ops bch_sb_field_ops_errors;
void bch2_sb_error_count(struct bch_fs *, enum bch_sb_error_id);
void bch2_sb_errors_from_cpu(struct bch_fs *);
int bch2_sb_errors_to_cpu(struct bch_fs *);
#endif /* _BCACHEFS_SB_ERRORS_H */