diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/internal.h | 1 | ||||
-rw-r--r-- | fs/open.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/fs/internal.h b/fs/internal.h index c797480cbd6f..980d005b21b4 100644 --- a/fs/internal.h +++ b/fs/internal.h | |||
@@ -119,6 +119,7 @@ extern struct file *do_filp_open(int dfd, struct filename *pathname, | |||
119 | extern struct file *do_file_open_root(struct dentry *, struct vfsmount *, | 119 | extern struct file *do_file_open_root(struct dentry *, struct vfsmount *, |
120 | const char *, const struct open_flags *); | 120 | const char *, const struct open_flags *); |
121 | 121 | ||
122 | long do_sys_ftruncate(unsigned int fd, loff_t length, int small); | ||
122 | long do_faccessat(int dfd, const char __user *filename, int mode); | 123 | long do_faccessat(int dfd, const char __user *filename, int mode); |
123 | int do_fchmodat(int dfd, const char __user *filename, umode_t mode); | 124 | int do_fchmodat(int dfd, const char __user *filename, umode_t mode); |
124 | int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, | 125 | int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, |
@@ -162,7 +162,7 @@ COMPAT_SYSCALL_DEFINE2(truncate, const char __user *, path, compat_off_t, length | |||
162 | } | 162 | } |
163 | #endif | 163 | #endif |
164 | 164 | ||
165 | static long do_sys_ftruncate(unsigned int fd, loff_t length, int small) | 165 | long do_sys_ftruncate(unsigned int fd, loff_t length, int small) |
166 | { | 166 | { |
167 | struct inode *inode; | 167 | struct inode *inode; |
168 | struct dentry *dentry; | 168 | struct dentry *dentry; |