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/alloc_background.c | |
parent | ec35b3048140275600e026ebe46ec8484fbd5d7a (diff) |
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/alloc_background.c')
-rw-r--r-- | fs/bcachefs/alloc_background.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/alloc_background.c b/fs/bcachefs/alloc_background.c index 720b10f43a60..893e38f9db80 100644 --- a/fs/bcachefs/alloc_background.c +++ b/fs/bcachefs/alloc_background.c @@ -853,7 +853,7 @@ int bch2_trigger_alloc(struct btree_trans *trans, bucket_journal_seq); if (ret) { bch2_fs_fatal_error(c, - "error setting bucket_needs_journal_commit: %i", ret); + "setting bucket_needs_journal_commit: %s", bch2_err_str(ret)); return ret; } } |