diff options
| author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-01-03 23:38:50 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:21 -0400 |
| commit | efe68e1d65c008dd1f19517378d0ad0688c6a643 (patch) | |
| tree | 05163aa98ac4e4ed0d2f057c7f48b3047a012921 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | fe312f81ef62f8aec0c21dabb703baeb4a7533fc (diff) | |
| download | linux-efe68e1d65c008dd1f19517378d0ad0688c6a643.tar.gz linux-efe68e1d65c008dd1f19517378d0ad0688c6a643.zip | |
bcachefs: Improved superblock-related error messages
This patch converts bch2_sb_validate() and the .validate methods for the
various superblock sections to take printbuf, to which they can print
detailed error messages, including printing the entire section that was
invalid.
This is a great improvement over the previous situation, where we could
only return static strings that didn't have precise information about
what was wrong.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
