[PATCH v2 0/7] exfat: code optimizations

Yuezhang.Mo@sony.com posted 7 patches 1 year, 4 months ago
Only 0 patches received!
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(-)
[PATCH v2 0/7] exfat: code optimizations
Posted by Yuezhang.Mo@sony.com 1 year, 4 months ago
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
Re: [PATCH v2 0/7] exfat: code optimizations
Posted by Namjae Jeon 1 year, 4 months ago
2022-12-13 11:36 GMT+09:00, Yuezhang.Mo@sony.com <Yuezhang.Mo@sony.com>:
> 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
>
RE: [PATCH v2 0/7] exfat: code optimizations
Posted by Sungjong Seo 1 year, 4 months ago
> 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 <sj1557.seo@samsung.com>

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