Commit 35d3980
Hongzhen Luo
[EROFS]: fix: capture errors from extract_tar()
Currently, the error code returned by the earlier part of
the extract_tar() may be overwritten by value of erofs_close_sbi().
This patch introduces `err2` to address this issue.
Signed-off-by: Hongzhen Luo <hongzhen@linux.alibaba.com>1 parent db0879a commit 35d3980
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
627 | | - | |
| 627 | + | |
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
| |||
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
693 | | - | |
| 693 | + | |
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | | - | |
| 697 | + | |
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
| |||
0 commit comments