]> www.infradead.org Git - users/willy/xarray.git/commit
ext4: get rid of ppath in ext4_find_extent()
authorBaokun Li <libaokun1@huawei.com>
Thu, 22 Aug 2024 02:35:31 +0000 (10:35 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 4 Sep 2024 02:12:17 +0000 (22:12 -0400)
commit0be4c0c2f17bd10ae16c852f02d51a6a7b318aca
tree3590435cd94a988aef4009dbbaa42b6b846b0fd7
parent369c944ed1d7c3fb7b35f24e4735761153afe7b3
ext4: get rid of ppath in ext4_find_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.

Getting rid of ppath in ext4_find_extent() requires its caller to update
ppath. These ppaths will also be dropped later. 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-12-libaokun@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/extents.c
fs/ext4/move_extent.c