exfat: rename argument name for exfat_move_file and exfat_rename_file
authorYuezhang Mo <Yuezhang.Mo@sony.com>
Fri, 15 Nov 2024 01:43:10 +0000 (09:43 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Mon, 25 Nov 2024 08:08:21 +0000 (17:08 +0900)
commit06a2b0b3b490a6103376652c01c3ac6e8e22e654
tree7d02f85bfdb4590ce9bb492378217e046f494efe
parent30ef0e0d7ff5b6dceda19d18a85d9d72a4909784
exfat: rename argument name for exfat_move_file and exfat_rename_file

In this exfat implementation, the relationship between inode and ei
is ei=EXFAT_I(inode). However, in the arguments of exfat_move_file()
and exfat_rename_file(), argument 'inode' indicates the parent
directory, but argument 'ei' indicates the target file to be renamed.
They do not have the above relationship, which is not friendly to code
readers.

So this commit renames 'inode' to 'parent_inode', making the argument
name match its role.

Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/exfat/namei.c