commit | 7df818b2370a9aab5fc58a85b70b8af3d835affa | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Mar 25 14:24:09 2016 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Mar 28 00:47:22 2016 -0400 |
tree | 3db444090c642e228bc10b4945388ea452562ae5 | |
parent | 81f4c50607b423a59f8a1b03e1e8fc409a1dcd22 [diff] [blame] |
constify vfs_truncate() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/open.c b/fs/open.c index 17cb6b1..2f49fce 100644 --- a/fs/open.c +++ b/fs/open.c
@@ -65,7 +65,7 @@ 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;