diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-01-04 07:38:50 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:21 +0300 |
commit | efe68e1d65c008dd1f19517378d0ad0688c6a643 (patch) | |
tree | 05163aa98ac4e4ed0d2f057c7f48b3047a012921 /fs/afs | |
parent | fe312f81ef62f8aec0c21dabb703baeb4a7533fc (diff) | |
download | linux-efe68e1d65c008dd1f19517378d0ad0688c6a643.tar.xz |
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 'fs/afs')
0 files changed, 0 insertions, 0 deletions