diff options
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | 2022-03-28 16:37:58 +0800 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2022-12-12 11:02:51 +0900 |
commit | f7cde96710a4362dca199458d3de04f631178453 (patch) | |
tree | 318ea089012f1a39803b0cffc9bb183f4dc180d0 /arch | |
parent | e981917b3fae689e9372647a38746444205bb905 (diff) | |
download | lwn-f7cde96710a4362dca199458d3de04f631178453.tar.gz lwn-f7cde96710a4362dca199458d3de04f631178453.zip |
exfat: remove i_size_write() from __exfat_truncate()
The file/directory size is updated into inode by i_size_write()
before __exfat_truncate() is called, so it is redundant to
re-update by i_size_write() in __exfat_truncate().
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 'arch')
0 files changed, 0 insertions, 0 deletions