diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-26 10:41:33 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-29 13:26:13 -0400 |
| commit | 6d77ce4a273b319f6e9e8d2b6b2415a13bdea66d (patch) | |
| tree | 2483d9406f7e4a8a9cb49ed02a749f145d37274f /fs/bcachefs/error.h | |
| parent | 7337f9f14e0e2dbd2da50ade0cd7e58df6c7af6d (diff) | |
bcachefs: Better printing of inconsistency errors
Build up and emit the error message for an inconsistency error all at
once, instead of spread over multiple printk calls, so they're not
jumbled in the dmesg log.
Also, add better indenting.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/error.h')
| -rw-r--r-- | fs/bcachefs/error.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/error.h b/fs/bcachefs/error.h index 542bdbb8d8be..d0d024dc714b 100644 --- a/fs/bcachefs/error.h +++ b/fs/bcachefs/error.h @@ -55,7 +55,6 @@ bool bch2_trans_inconsistent(struct btree_trans *, const char *, ...); _ret; \ }) -int bch2_topology_error(struct bch_fs *); int __bch2_topology_error(struct bch_fs *, struct printbuf *); __printf(2, 3) int bch2_fs_topology_error(struct bch_fs *, const char *, ...); |
