2022-12-13 03:08:35

by [email protected]

[permalink] [raw]
Subject: [PATCH v2 0/7] exfat: code optimizations

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


2022-12-13 06:20:50

by Sungjong Seo

[permalink] [raw]
Subject: RE: [PATCH v2 0/7] exfat: code optimizations

> 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()

Looks good. Thanks.
Reviewed-by: Sungjong Seo <[email protected]>

>
> 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

2022-12-13 11:53:22

by Namjae Jeon

[permalink] [raw]
Subject: Re: [PATCH v2 0/7] exfat: code optimizations

2022-12-13 11:36 GMT+09:00, [email protected] <[email protected]>:
> This patchset is some minor code optimizations, no functional changes.
Applied, Thanks for your patches!
>
> 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
>