diff options
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | 2022-11-17 10:36:21 +0800 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2022-12-12 11:02:51 +0900 |
commit | e981917b3fae689e9372647a38746444205bb905 (patch) | |
tree | 07e280fa7065772aa4e57ec70ce302742a532d1e /fs/exfat/exfat_fs.h | |
parent | 72880cb5f157514d797d5f6ab3184bbde671a18a (diff) | |
download | lwn-e981917b3fae689e9372647a38746444205bb905.tar.gz lwn-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/exfat_fs.h')
-rw-r--r-- | fs/exfat/exfat_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exfat/exfat_fs.h b/fs/exfat/exfat_fs.h index 21fec01d68ff..ae048802f9db 100644 --- a/fs/exfat/exfat_fs.h +++ b/fs/exfat/exfat_fs.h @@ -449,7 +449,7 @@ int exfat_trim_fs(struct inode *inode, struct fstrim_range *range); /* file.c */ extern const struct file_operations exfat_file_operations; int __exfat_truncate(struct inode *inode, loff_t new_size); -void exfat_truncate(struct inode *inode, loff_t size); +void exfat_truncate(struct inode *inode); int exfat_setattr(struct user_namespace *mnt_userns, struct dentry *dentry, struct iattr *attr); int exfat_getattr(struct user_namespace *mnt_userns, const struct path *path, |