diff options
author | Baokun Li <libaokun1@huawei.com> | 2024-08-22 04:35:41 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-09-04 04:12:18 +0200 |
commit | 2ec2e1043473b3d4a3afbe6ad7c5a5b7a6fdf480 (patch) | |
tree | 0a9bfe655a8ad2bd153e04744743c1023b164a69 /Documentation/driver-api/wmi.rst | |
parent | ext4: get rid of ppath in ext4_ext_convert_to_initialized() (diff) | |
download | linux-2ec2e1043473b3d4a3afbe6ad7c5a5b7a6fdf480.tar.xz linux-2ec2e1043473b3d4a3afbe6ad7c5a5b7a6fdf480.zip |
ext4: get rid of ppath in ext4_ext_handle_unwritten_extents()
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_handle_unwritten_extents(), the
following is done here:
* Free the extents path when an error is encountered.
* 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-22-libaokun@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'Documentation/driver-api/wmi.rst')
0 files changed, 0 insertions, 0 deletions