summaryrefslogtreecommitdiff
path: root/fs/exfat/namei.c
diff options
context:
space:
mode:
authorYuezhang Mo <Yuezhang.Mo@sony.com>2022-08-16 16:55:06 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2022-12-12 11:02:50 +0900
commit088f1343d9108c16fca064951d85e6de9f5cab42 (patch)
treee389ed08eea7514f261cbb47d2c498f102113552 /fs/exfat/namei.c
parentf3fe3954c09f97d8227d9d2edc807796a8b228ab (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