diff options
author | 2024-08-08 15:37:13 +0800 | |
---|---|---|
committer | 2024-11-25 17:08:21 +0900 | |
commit | 30ef0e0d7ff5b6dceda19d18a85d9d72a4909784 (patch) | |
tree | f1658dc10f11b2272b3433aa2707288c7dec73f1 /scripts/lib/kdoc/kdoc_parser.py | |
parent | exfat: fix file being changed by unaligned direct write (diff) | |
download | linux-rng-30ef0e0d7ff5b6dceda19d18a85d9d72a4909784.tar.xz linux-rng-30ef0e0d7ff5b6dceda19d18a85d9d72a4909784.zip |
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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions