diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-17 21:51:19 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-18 00:24:24 -0400 |
commit | 3ed94062e3801e3fd9924ccd54b607abf58cc223 (patch) | |
tree | ebe28ecdfd314b9af998af55af7655cd73edd7ae /fs/bcachefs/debug.c | |
parent | ec35b3048140275600e026ebe46ec8484fbd5d7a (diff) | |
download | linux-3ed94062e3801e3fd9924ccd54b607abf58cc223.tar.gz linux-3ed94062e3801e3fd9924ccd54b607abf58cc223.tar.bz2 linux-3ed94062e3801e3fd9924ccd54b607abf58cc223.zip |
bcachefs: Improve bch2_fatal_error()
error messages should always include __func__
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/debug.c')
-rw-r--r-- | fs/bcachefs/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/debug.c b/fs/bcachefs/debug.c index b1f147e6be4d..208ce6f0fc43 100644 --- a/fs/bcachefs/debug.c +++ b/fs/bcachefs/debug.c @@ -170,7 +170,7 @@ void __bch2_btree_verify(struct bch_fs *c, struct btree *b) struct printbuf buf = PRINTBUF; bch2_bkey_val_to_text(&buf, c, bkey_i_to_s_c(&b->key)); - bch2_fs_fatal_error(c, "btree node verify failed for : %s\n", buf.buf); + bch2_fs_fatal_error(c, ": btree node verify failed for: %s\n", buf.buf); printbuf_exit(&buf); } out: |