Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b0c279ff
Commit
b0c279ff
authored
Dec 13, 2023
by
Kent Overstreet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: fix BCH_FSCK_ERR enum
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
247ce5f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fs/bcachefs/error.h
fs/bcachefs/error.h
+1
-1
fs/bcachefs/sb-errors.h
fs/bcachefs/sb-errors.h
+1
-1
No files found.
fs/bcachefs/error.h
View file @
b0c279ff
...
@@ -157,6 +157,7 @@ void bch2_flush_fsck_errs(struct bch_fs *);
...
@@ -157,6 +157,7 @@ void bch2_flush_fsck_errs(struct bch_fs *);
#define fsck_err_on(cond, c, _err_type, ...) \
#define fsck_err_on(cond, c, _err_type, ...) \
__fsck_err_on(cond, c, FSCK_CAN_FIX|FSCK_CAN_IGNORE, _err_type, __VA_ARGS__)
__fsck_err_on(cond, c, FSCK_CAN_FIX|FSCK_CAN_IGNORE, _err_type, __VA_ARGS__)
__printf
(
4
,
0
)
static
inline
void
bch2_bkey_fsck_err
(
struct
bch_fs
*
c
,
static
inline
void
bch2_bkey_fsck_err
(
struct
bch_fs
*
c
,
struct
printbuf
*
err_msg
,
struct
printbuf
*
err_msg
,
enum
bch_sb_error_id
err_type
,
enum
bch_sb_error_id
err_type
,
...
@@ -167,7 +168,6 @@ static inline void bch2_bkey_fsck_err(struct bch_fs *c,
...
@@ -167,7 +168,6 @@ static inline void bch2_bkey_fsck_err(struct bch_fs *c,
va_start
(
args
,
fmt
);
va_start
(
args
,
fmt
);
prt_vprintf
(
err_msg
,
fmt
,
args
);
prt_vprintf
(
err_msg
,
fmt
,
args
);
va_end
(
args
);
va_end
(
args
);
}
}
#define bkey_fsck_err(c, _err_msg, _err_type, ...) \
#define bkey_fsck_err(c, _err_msg, _err_type, ...) \
...
...
fs/bcachefs/sb-errors.h
View file @
b0c279ff
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
x(btree_node_bkey_out_of_order, 57) \
x(btree_node_bkey_out_of_order, 57) \
x(btree_root_bkey_invalid, 58) \
x(btree_root_bkey_invalid, 58) \
x(btree_root_read_error, 59) \
x(btree_root_read_error, 59) \
x(btree_root_bad_min_key,
5
0) \
x(btree_root_bad_min_key,
6
0) \
x(btree_root_bad_max_key, 61) \
x(btree_root_bad_max_key, 61) \
x(btree_node_read_error, 62) \
x(btree_node_read_error, 62) \
x(btree_node_topology_bad_min_key, 63) \
x(btree_node_topology_bad_min_key, 63) \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment