summaryrefslogtreecommitdiff
path: root/libbcachefs/error.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-04-28 12:50:37 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-04-28 12:50:37 -0400
commit0589d9f3c3cdff28a13f9efc96762d39ef615d22 (patch)
tree4d7e466a10ba9cd10c8b30e7aad1606e44770314 /libbcachefs/error.h
parente00e83b84d8de5a6fa279a3c50ad1d7603ee4607 (diff)
Update bcachefs sources to 6e73711dc355 bcachefs: Read retries are after checksum errors now REQ_FUA
Diffstat (limited to 'libbcachefs/error.h')
-rw-r--r--libbcachefs/error.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbcachefs/error.h b/libbcachefs/error.h
index 0b3ede1c..d89dd270 100644
--- a/libbcachefs/error.h
+++ b/libbcachefs/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,