Commit dbb9936b authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Improve bch2_fsck_err()



 - factor out fsck_err_get()
 - if the "bcachefs (%s):" prefix has already been applied, don't
   duplicate it
 - convert to printbufs instead of static char arrays
 - tidy up control flow a bit
 - use bch2_print_string_as_lines(), to avoid messages getting truncated

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