diff options
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | 2022-08-16 16:55:06 +0800 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2022-12-12 11:02:50 +0900 |
commit | 088f1343d9108c16fca064951d85e6de9f5cab42 (patch) | |
tree | e389ed08eea7514f261cbb47d2c498f102113552 /fs/exfat/namei.c | |
parent | f3fe3954c09f97d8227d9d2edc807796a8b228ab (diff) |
exfat: remove call ilog2() from exfat_readdir()
There is no need to call ilog2() for the conversions between
cluster and dentry in exfat_readdir(), because these conversions
can be replaced with EXFAT_DEN_TO_CLU()/EXFAT_CLU_TO_DEN().
Code refinement, no functional changes.
Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Andy Wu <Andy.Wu@sony.com>
Reviewed-by: Aoyama Wataru <wataru.aoyama@sony.com>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'fs/exfat/namei.c')
0 files changed, 0 insertions, 0 deletions