constify vfs_truncate()

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2016-03-25 14:24:09 -04:00
commit 7df818b237
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs,
return ret;
}
long vfs_truncate(struct path *path, loff_t length)
long vfs_truncate(const struct path *path, loff_t length)
{
struct inode *inode;
long error;