[PATCH v2 0/7] exfat: code optimizations

From: Yuezhang.Mo@xxxxxxxx
Date: Mon Dec 12 2022 - 21:38:24 EST


This patchset is some minor code optimizations, no functional changes.

Changes for v2:
- [6/7] [7/7] Fix return value type of exfat_sector_to_cluster()

Yuezhang Mo (7):
exfat: remove call ilog2() from exfat_readdir()
exfat: remove unneeded codes from __exfat_rename()
exfat: remove unnecessary arguments from exfat_find_dir_entry()
exfat: remove argument 'size' from exfat_truncate()
exfat: remove i_size_write() from __exfat_truncate()
exfat: fix overflow in sector and cluster conversion
exfat: reuse exfat_find_location() to simplify exfat_get_dentry_set()

fs/exfat/dir.c | 38 +++++++++++++++-----------------------
fs/exfat/exfat_fs.h | 19 ++++++++++++-------
fs/exfat/file.c | 12 +++++-------
fs/exfat/inode.c | 4 ++--
fs/exfat/namei.c | 19 +++----------------
5 files changed, 37 insertions(+), 55 deletions(-)

--
2.25.1