diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-06-02 16:49:38 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-06-07 12:45:39 -0400 |
commit | 9a449e9c3b34ef3f7029bd966f98cbbfccd144e5 (patch) | |
tree | 94da3e94c71af7dd54b3c4e6faa9c493909dd158 /fs/f2fs/f2fs.h | |
parent | 338bbfa086c34ed4ec33bd3c4c4a2ec89336a567 (diff) |
f2fs: remove obsolete parameter in f2fs_truncate
We don't need lock parameter, which is always true.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index dc9e2798ba9c..e21f9df133d1 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h | |||
@@ -1854,7 +1854,7 @@ static inline void *f2fs_kvzalloc(size_t size, gfp_t flags) | |||
1854 | int f2fs_sync_file(struct file *, loff_t, loff_t, int); | 1854 | int f2fs_sync_file(struct file *, loff_t, loff_t, int); |
1855 | void truncate_data_blocks(struct dnode_of_data *); | 1855 | void truncate_data_blocks(struct dnode_of_data *); |
1856 | int truncate_blocks(struct inode *, u64, bool); | 1856 | int truncate_blocks(struct inode *, u64, bool); |
1857 | int f2fs_truncate(struct inode *, bool); | 1857 | int f2fs_truncate(struct inode *); |
1858 | int f2fs_getattr(struct vfsmount *, struct dentry *, struct kstat *); | 1858 | int f2fs_getattr(struct vfsmount *, struct dentry *, struct kstat *); |
1859 | int f2fs_setattr(struct dentry *, struct iattr *); | 1859 | int f2fs_setattr(struct dentry *, struct iattr *); |
1860 | int truncate_hole(struct inode *, pgoff_t, pgoff_t); | 1860 | int truncate_hole(struct inode *, pgoff_t, pgoff_t); |