Commit 394f2a4
committed
cptofs: Don't overwrite failure with umount return value
When cptofs fails to process any item, return value has been overwritten
with return value from lkl_umount_dev, so cptofs wasn't returning error
when it was supposed to.
Signed-off-by: Yuriy Taraday <[email protected]>1 parent fd7bb8a commit 394f2a4
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
563 | | - | |
| 563 | + | |
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
616 | | - | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
617 | 619 | | |
618 | 620 | | |
619 | 621 | | |
| |||
0 commit comments