summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-03-28 18:59:09 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2025-03-29 05:31:47 +0300
commitb00750c2e5f09b90fdd370ff3f9581b880ad86fd (patch)
treee79d3dc37ec56b817ed51b35c9d0b3bec711951a /lib/string_helpers.c
parent1ece53237e83edb12cb6c1a8b91f54735e64d95f (diff)
downloadlinux-b00750c2e5f09b90fdd370ff3f9581b880ad86fd.tar.xz
bcachefs: Better helpers for inconsistency errors
An inconsistency error often happens as part of an event with multiple error messages, and we want to build up one single error message with proper indenting to produce more readable log messages that don't get garbled. Add new helpers that emit messages to a printbuf instead of printing them directly, next patch will convert to use them. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions