diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-25 21:24:09 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-28 07:47:22 +0300 |
commit | 7df818b2370a9aab5fc58a85b70b8af3d835affa (patch) | |
tree | 3db444090c642e228bc10b4945388ea452562ae5 /include | |
parent | 81f4c50607b423a59f8a1b03e1e8fc409a1dcd22 (diff) | |
download | linux-7df818b2370a9aab5fc58a85b70b8af3d835affa.tar.xz |
constify vfs_truncate()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 14a97194b34b..09a68517e952 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2253,7 +2253,7 @@ struct filename { const char iname[]; }; -extern long vfs_truncate(struct path *, loff_t); +extern long vfs_truncate(const struct path *, loff_t); extern int do_truncate(struct dentry *, loff_t start, unsigned int time_attrs, struct file *filp); extern int vfs_fallocate(struct file *file, int mode, loff_t offset, |