diff options
| author | 2019-03-20 13:36:06 +0800 | |
|---|---|---|
| committer | 2019-04-29 19:02:31 +0200 | |
| commit | f114024376bceb1c0f61a7bad4a72a0f978767af (patch) | |
| tree | a6b14941c212665c51871b15dbc8b9476da85689 /scripts/Makefile.thinlto | |
| parent | btrfs: Move btrfs_check_chunk_valid() to tree-check.[ch] and export it (diff) | |
btrfs: tree-checker: Make chunk item checker messages more readable
Old error message would be something like:
BTRFS error (device dm-3): invalid chunk num_stipres: 0
New error message would be:
Btrfs critical (device dm-3): corrupt superblock syschunk array: chunk_start=2097152, invalid chunk num_stripes: 0
Or
Btrfs critical (device dm-3): corrupt leaf: root=3 block=8388608 slot=3 chunk_start=2097152, invalid chunk num_stripes: 0
And for certain error message, also output expected value.
The error message levels are changed from error to critical.
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
