summaryrefslogtreecommitdiff
path: root/fs/bcachefs/fs.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-03-17 21:51:19 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-03-18 00:24:24 -0400
commit3ed94062e3801e3fd9924ccd54b607abf58cc223 (patch)
treeebe28ecdfd314b9af998af55af7655cd73edd7ae /fs/bcachefs/fs.c
parentec35b3048140275600e026ebe46ec8484fbd5d7a (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/fs.c')
-rw-r--r--fs/bcachefs/fs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c
index 3f073845bbd7..0ccee05f6887 100644
--- a/fs/bcachefs/fs.c
+++ b/fs/bcachefs/fs.c
@@ -108,7 +108,8 @@ retry:
goto retry;
bch2_fs_fatal_err_on(bch2_err_matches(ret, ENOENT), c,
- "inode %u:%llu not found when updating",
+ "%s: inode %u:%llu not found when updating",
+ bch2_err_str(ret),
inode_inum(inode).subvol,
inode_inum(inode).inum);