Commit 1cb15b1
btrfs: lzo: add error message for invalid headers
Inside btrfs we always pair -EUCLEAN error with an error message to
indicate which data is corrupted.
However there are 3 cases inside lzo decompression where there is no
error message for corrupted headers.
Add those missing error messages to show exactly where the corruption
is.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent 3dcd507 commit 1cb15b1
1 file changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | | - | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
556 | 558 | | |
| 559 | + | |
557 | 560 | | |
558 | 561 | | |
559 | | - | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
560 | 565 | | |
| 566 | + | |
561 | 567 | | |
562 | 568 | | |
563 | 569 | | |
564 | | - | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
565 | 573 | | |
| 574 | + | |
566 | 575 | | |
567 | 576 | | |
568 | 577 | | |
| |||
0 commit comments