• Kent Overstreet's avatar
    bcachefs: Improved superblock-related error messages · efe68e1d
    Kent Overstreet authored
    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: default avatarKent Overstreet <kent.overstreet@gmail.com>
    efe68e1d
journal_seq_blacklist.c 6.51 KB