diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-25 14:24:09 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-28 00:47:22 -0400 |
commit | 7df818b2370a9aab5fc58a85b70b8af3d835affa (patch) | |
tree | 3db444090c642e228bc10b4945388ea452562ae5 /fs/open.c | |
parent | 81f4c50607b423a59f8a1b03e1e8fc409a1dcd22 (diff) |
constify vfs_truncate()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,7 @@ int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs, | |||
65 | return ret; | 65 | return ret; |
66 | } | 66 | } |
67 | 67 | ||
68 | long vfs_truncate(struct path *path, loff_t length) | 68 | long vfs_truncate(const struct path *path, loff_t length) |
69 | { | 69 | { |
70 | struct inode *inode; | 70 | struct inode *inode; |
71 | long error; | 71 | long error; |