diff options
author | Baokun Li <libaokun1@huawei.com> | 2024-08-22 10:35:40 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-09-03 22:12:18 -0400 |
commit | 33c14b8bd8a9ef8b3dfde136b0ca779e68c2f576 (patch) | |
tree | 990ed375016d3b3fbb318283d3f19b6024fd0651 /tools/perf/scripts/python/netdev-times.py | |
parent | 8d5ad7b08f9234bc92b9567cfe52e521df5f6626 (diff) |
ext4: get rid of ppath in ext4_ext_convert_to_initialized()
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_ext_convert_to_initialized(), the following
is done here:
* Free the extents path when an error is encountered.
* Its caller needs to update ppath if it uses ppath.
* The 'allocated' is changed from passing a value to passing an address.
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-21-libaokun@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions