diff options
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -217,7 +217,7 @@ int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs, | |||
217 | return err; | 217 | return err; |
218 | } | 218 | } |
219 | 219 | ||
220 | static inline long do_sys_truncate(const char __user * path, loff_t length) | 220 | static long do_sys_truncate(const char __user * path, loff_t length) |
221 | { | 221 | { |
222 | struct nameidata nd; | 222 | struct nameidata nd; |
223 | struct inode * inode; | 223 | struct inode * inode; |
@@ -283,7 +283,7 @@ asmlinkage long sys_truncate(const char __user * path, unsigned long length) | |||
283 | return do_sys_truncate(path, (long)length); | 283 | return do_sys_truncate(path, (long)length); |
284 | } | 284 | } |
285 | 285 | ||
286 | static inline long do_sys_ftruncate(unsigned int fd, loff_t length, int small) | 286 | static long do_sys_ftruncate(unsigned int fd, loff_t length, int small) |
287 | { | 287 | { |
288 | struct inode * inode; | 288 | struct inode * inode; |
289 | struct dentry *dentry; | 289 | struct dentry *dentry; |
@@ -971,7 +971,7 @@ out: | |||
971 | 971 | ||
972 | EXPORT_SYMBOL(get_unused_fd); | 972 | EXPORT_SYMBOL(get_unused_fd); |
973 | 973 | ||
974 | static inline void __put_unused_fd(struct files_struct *files, unsigned int fd) | 974 | static void __put_unused_fd(struct files_struct *files, unsigned int fd) |
975 | { | 975 | { |
976 | struct fdtable *fdt = files_fdtable(files); | 976 | struct fdtable *fdt = files_fdtable(files); |
977 | __FD_CLR(fd, fdt->open_fds); | 977 | __FD_CLR(fd, fdt->open_fds); |