diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-22 09:02:15 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-21 20:14:34 -0400 |
| commit | d31f155964aee6e6141967fc392a9a99b221e117 (patch) | |
| tree | 83b088dec7a11376ede60e53b70d1bb3db4bb6f7 /fs/bcachefs/error.h | |
| parent | 600a9207c8def056b4681fde8158c463576d5aca (diff) | |
bcachefs: bch2_fsck_err_opt()
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, 4 insertions, 0 deletions
diff --git a/fs/bcachefs/error.h b/fs/bcachefs/error.h index 0b3ede1c2015..d89dd270b2e5 100644 --- a/fs/bcachefs/error.h +++ b/fs/bcachefs/error.h @@ -80,6 +80,10 @@ bool __bch2_count_fsck_err(struct bch_fs *, enum bch_sb_error_id, struct printbu #define bch2_count_fsck_err(_c, _err, ...) \ __bch2_count_fsck_err(_c, BCH_FSCK_ERR_##_err, __VA_ARGS__) +int bch2_fsck_err_opt(struct bch_fs *, + enum bch_fsck_flags, + enum bch_sb_error_id); + __printf(5, 6) __cold int __bch2_fsck_err(struct bch_fs *, struct btree_trans *, enum bch_fsck_flags, |
