diff options
author | Baokun Li <libaokun1@huawei.com> | 2024-08-22 04:35:42 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-09-04 04:12:18 +0200 |
commit | 4191eefef978d734fa8249bede3f9b02a85aa3c0 (patch) | |
tree | b51198565c85bc480ea7b327b6ed76372c16384e /lib/packing.c | |
parent | ext4: get rid of ppath in ext4_ext_handle_unwritten_extents() (diff) | |
download | linux-4191eefef978d734fa8249bede3f9b02a85aa3c0.tar.xz linux-4191eefef978d734fa8249bede3f9b02a85aa3c0.zip |
ext4: get rid of ppath in convert_initialized_extent()
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 convert_initialized_extent(), the following is
done here:
* Free the extents path when an error is encountered.
No functional changes.
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Tested-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Link: https://patch.msgid.link/20240822023545.1994557-23-libaokun@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/packing.c')
0 files changed, 0 insertions, 0 deletions