diff options
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | 2024-08-08 15:37:13 +0800 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2024-11-25 17:08:21 +0900 |
commit | 30ef0e0d7ff5b6dceda19d18a85d9d72a4909784 (patch) | |
tree | f1658dc10f11b2272b3433aa2707288c7dec73f1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2e94e5bb94a3e641a25716a560bf474225fda83c (diff) | |
download | linux-30ef0e0d7ff5b6dceda19d18a85d9d72a4909784.tar.gz linux-30ef0e0d7ff5b6dceda19d18a85d9d72a4909784.tar.bz2 linux-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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions