Commit 480126f
erofs-snapshotter: fix to work with wrapped errors
Commit fb6dd2c ("client:improve mount error message") changed
the return value into a wraped error message, which causes the
ENOTBLK check doesn't work.
Reported-by: Aadhar Agarwal <[email protected]>
Fixes: #11861
Signed-off-by: Gao Xiang <[email protected]>1 parent 9966095 commit 480126f
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
268 | | - | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
0 commit comments