Skip to content

Commit b0c279f

Browse files
author
Kent Overstreet
committed
bcachefs: fix BCH_FSCK_ERR enum
Signed-off-by: Kent Overstreet <[email protected]>
1 parent 247ce5f commit b0c279f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fs/bcachefs/error.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ void bch2_flush_fsck_errs(struct bch_fs *);
157157
#define fsck_err_on(cond, c, _err_type, ...) \
158158
__fsck_err_on(cond, c, FSCK_CAN_FIX|FSCK_CAN_IGNORE, _err_type, __VA_ARGS__)
159159

160+
__printf(4, 0)
160161
static inline void bch2_bkey_fsck_err(struct bch_fs *c,
161162
struct printbuf *err_msg,
162163
enum bch_sb_error_id err_type,
@@ -167,7 +168,6 @@ static inline void bch2_bkey_fsck_err(struct bch_fs *c,
167168
va_start(args, fmt);
168169
prt_vprintf(err_msg, fmt, args);
169170
va_end(args);
170-
171171
}
172172

173173
#define bkey_fsck_err(c, _err_msg, _err_type, ...) \

fs/bcachefs/sb-errors.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
x(btree_node_bkey_out_of_order, 57) \
6666
x(btree_root_bkey_invalid, 58) \
6767
x(btree_root_read_error, 59) \
68-
x(btree_root_bad_min_key, 50) \
68+
x(btree_root_bad_min_key, 60) \
6969
x(btree_root_bad_max_key, 61) \
7070
x(btree_node_read_error, 62) \
7171
x(btree_node_topology_bad_min_key, 63) \

0 commit comments

Comments
 (0)