exfat: remove unnecessary read entry in __exfat_rename()
To determine whether it is a directory, there is no need to read its directory entry, just use S_ISDIR(inode->i_mode). Signed-off-by:Yuezhang Mo <Yuezhang.Mo@sony.com> Reviewed-by:
Aoyama Wataru <wataru.aoyama@sony.com> Reviewed-by:
Daniel Palmer <daniel.palmer@sony.com> Reviewed-by:
Sungjong Seo <sj1557.seo@samsung.com> Signed-off-by:
Namjae Jeon <linkinjeon@kernel.org>
Loading
Please sign in to comment