diff options
author | Jemmy <jemmywong512@gmail.com> | 2024-06-07 01:39:12 +0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-06-21 11:41:04 +0200 |
commit | deebbd505c7bf8913451095c3ac9dcec39c7a025 (patch) | |
tree | e40fd6b28b8e711cbe79b53f4b4dc9b3b07e571b /fs/hfsplus/wrapper.c | |
parent | d4f50ea957cab6ea940cc072a142b1e964a10ee6 (diff) |
Improve readability of copy_tree
by employing `copy mount tree from src to dst` concept.
This involves renaming the opaque variables (e.g., p, q, r, s)
to be more descriptive, aiming to make the code easier to understand.
Changes:
mnt -> src_root (root of the tree to copy)
r -> src_root_child (direct child of the root being cloning)
p -> src_parent (parent of src_mnt)
s -> src_mnt (current mount being copying)
parent -> dst_parent (parent of dst_child)
q -> dst_mnt (freshly cloned mount)
Signed-off-by: Jemmy <jemmywong512@gmail.com>
Link: https://lore.kernel.org/r/20240606173912.99442-1-jemmywong512@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/hfsplus/wrapper.c')
0 files changed, 0 insertions, 0 deletions