diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-15 13:55:16 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-21 20:14:17 -0400 |
| commit | 2085325171f2f2d33a94101e58266f325c286e95 (patch) | |
| tree | aaacf972ec847b132675830eb22b3ffd23175cc1 /fs/bcachefs/error.h | |
| parent | bb36a12921e5fc76f3b26a80ab0217d3dc62a473 (diff) | |
bcachefs: Simplify bch2_count_fsck_err()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/error.h')
| -rw-r--r-- | fs/bcachefs/error.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/bcachefs/error.h b/fs/bcachefs/error.h index 4a364fd44abe..0b3ede1c2015 100644 --- a/fs/bcachefs/error.h +++ b/fs/bcachefs/error.h @@ -76,9 +76,7 @@ struct fsck_err_state { #define fsck_err_count(_c, _err) bch2_sb_err_count(_c, BCH_FSCK_ERR_##_err) -void __bch2_count_fsck_err(struct bch_fs *, - enum bch_sb_error_id, const char *, - bool *, bool *, bool *); +bool __bch2_count_fsck_err(struct bch_fs *, enum bch_sb_error_id, struct printbuf *); #define bch2_count_fsck_err(_c, _err, ...) \ __bch2_count_fsck_err(_c, BCH_FSCK_ERR_##_err, __VA_ARGS__) |
