Commit 8d5ad7b
ext4: get rid of ppath in ext4_convert_unwritten_extents_endio()
The use of path and ppath is now very confusing, so to make the code more
readable, pass path between functions uniformly, and get rid of ppath.
To get rid of the ppath in ext4_convert_unwritten_extents_endio(), the
following is done here:
* Free the extents path when an error is encountered.
* Its caller needs to update ppath if it uses ppath.
No functional changes.
Signed-off-by: Baokun Li <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Ojaswin Mujoo <[email protected]>
Tested-by: Ojaswin Mujoo <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>1 parent 225057b commit 8d5ad7b
1 file changed
+23
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3746 | 3746 | | |
3747 | 3747 | | |
3748 | 3748 | | |
3749 | | - | |
3750 | | - | |
3751 | | - | |
3752 | | - | |
| 3749 | + | |
| 3750 | + | |
| 3751 | + | |
| 3752 | + | |
3753 | 3753 | | |
3754 | | - | |
3755 | 3754 | | |
3756 | 3755 | | |
3757 | 3756 | | |
| |||
3781 | 3780 | | |
3782 | 3781 | | |
3783 | 3782 | | |
3784 | | - | |
3785 | | - | |
3786 | | - | |
3787 | | - | |
| 3783 | + | |
| 3784 | + | |
3788 | 3785 | | |
3789 | 3786 | | |
3790 | | - | |
3791 | | - | |
3792 | | - | |
3793 | | - | |
3794 | | - | |
| 3787 | + | |
| 3788 | + | |
3795 | 3789 | | |
3796 | 3790 | | |
3797 | 3791 | | |
3798 | 3792 | | |
3799 | 3793 | | |
3800 | 3794 | | |
3801 | | - | |
| 3795 | + | |
3802 | 3796 | | |
3803 | 3797 | | |
3804 | 3798 | | |
| |||
3809 | 3803 | | |
3810 | 3804 | | |
3811 | 3805 | | |
3812 | | - | |
| 3806 | + | |
| 3807 | + | |
| 3808 | + | |
3813 | 3809 | | |
3814 | | - | |
| 3810 | + | |
| 3811 | + | |
| 3812 | + | |
| 3813 | + | |
| 3814 | + | |
3815 | 3815 | | |
3816 | 3816 | | |
3817 | 3817 | | |
| |||
3939 | 3939 | | |
3940 | 3940 | | |
3941 | 3941 | | |
3942 | | - | |
3943 | | - | |
3944 | | - | |
| 3942 | + | |
| 3943 | + | |
| 3944 | + | |
| 3945 | + | |
| 3946 | + | |
3945 | 3947 | | |
| 3948 | + | |
3946 | 3949 | | |
3947 | 3950 | | |
3948 | 3951 | | |
| |||
0 commit comments