Commit 15f11c1a authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: Improve an error message

Update an error message to use bch2_err_str().
Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
parent 49e401fa
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment