diff options
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | 2022-11-17 03:36:21 +0100 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2022-12-12 03:02:51 +0100 |
commit | e981917b3fae689e9372647a38746444205bb905 (patch) | |
tree | 07e280fa7065772aa4e57ec70ce302742a532d1e /fs/exfat/inode.c | |
parent | exfat: remove unnecessary arguments from exfat_find_dir_entry() (diff) | |
download | linux-e981917b3fae689e9372647a38746444205bb905.tar.xz linux-e981917b3fae689e9372647a38746444205bb905.zip |
exfat: remove argument 'size' from exfat_truncate()
argument 'size' is not used in exfat_truncate(), remove it.
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/inode.c')
-rw-r--r-- | fs/exfat/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exfat/inode.c b/fs/exfat/inode.c index dac5001bae9e..0d147f8a1f7c 100644 --- a/fs/exfat/inode.c +++ b/fs/exfat/inode.c @@ -362,7 +362,7 @@ static void exfat_write_failed(struct address_space *mapping, loff_t to) if (to > i_size_read(inode)) { truncate_pagecache(inode, i_size_read(inode)); inode->i_mtime = inode->i_ctime = current_time(inode); - exfat_truncate(inode, EXFAT_I(inode)->i_size_aligned); + exfat_truncate(inode); } } |