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/logged_ops.c | |
parent | ec35b3048140275600e026ebe46ec8484fbd5d7a (diff) | |
download | lwn-3ed94062e3801e3fd9924ccd54b607abf58cc223.tar.gz lwn-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/logged_ops.c')
-rw-r--r-- | fs/bcachefs/logged_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/logged_ops.c b/fs/bcachefs/logged_ops.c index ad598105c587..9fac838d123e 100644 --- a/fs/bcachefs/logged_ops.c +++ b/fs/bcachefs/logged_ops.c @@ -101,8 +101,8 @@ void bch2_logged_op_finish(struct btree_trans *trans, struct bkey_i *k) struct printbuf buf = PRINTBUF; bch2_bkey_val_to_text(&buf, c, bkey_i_to_s_c(k)); - bch2_fs_fatal_error(c, "%s: error deleting logged operation %s: %s", - __func__, buf.buf, bch2_err_str(ret)); + bch2_fs_fatal_error(c, "deleting logged operation %s: %s", + buf.buf, bch2_err_str(ret)); printbuf_exit(&buf); } } |