summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-03-28 19:15:32 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2025-03-29 20:26:13 +0300
commit7337f9f14e0e2dbd2da50ade0cd7e58df6c7af6d (patch)
tree37cb1fb94e5eaed48bf2ee4073deb34ce75f5f92 /lib/string_helpers.c
parentb00750c2e5f09b90fdd370ff3f9581b880ad86fd (diff)
downloadlinux-7337f9f14e0e2dbd2da50ade0cd7e58df6c7af6d.tar.xz
bcachefs: bch2_count_fsck_err()
Factor out a helper from __bch2_fsck_err(), for counting the error in the superblock and deciding whether to print or ratelimit - will be used to replace some log_fsck_err() calls, where we want to lift out printing the error message. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions