mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-31 05:15:34 +00:00
bcachefs: Improve jset_validate()
Previously, jset_validate() was formatting the initial part of an error string for every entry it validating - expensive. This moves that code to journal_entry_err_msg(), which is now only called if there's an actual error. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
3f3bc66ef0
commit
c23a9e0882
3 changed files with 94 additions and 70 deletions
Loading…
Add table
Add a link
Reference in a new issue