mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 13:22:57 +00:00
bcachefs: Improve an error message
Update an error message to use bch2_err_str(). Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
parent
49e401fa55
commit
15f11c1aa8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue