projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49e401f
)
bcachefs: Improve an error message
author
Kent Overstreet
<kent.overstreet@gmail.com>
Sun, 7 Aug 2022 03:02:09 +0000
(23:02 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:37 +0000
(17:09 -0400)
Update an error message to use bch2_err_str().
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/io.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/io.c
b/fs/bcachefs/io.c
index 0348e2ab642280977f5163e744291669faeb1600..44fb14a5b5aee7f263c72616e07311bea908ba4d 100644
(file)
--- a/
fs/bcachefs/io.c
+++ b/
fs/bcachefs/io.c
@@
-674,7
+674,7
@@
static void __bch2_write_index(struct bch_write_op *op)
if (ret) {
bch_err_inum_ratelimited(c, op->pos.inode,
- "write error
%i from btree update", ret
);
+ "write error
while doing btree update: %s", bch2_err_str(ret)
);
goto err;
}
}