Commit 1bb3c2a9 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: New error message helpers



Add two new helpers for printing error messages with __func__ and
bch2_err_str():
 - bch_err_fn
 - bch_err_msg

Also kill the old error strings in the recovery path, which were causing
us to incorrectly report memory allocation failures - they're not needed
anymore.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent a83e108f
Supports Markdown
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