diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/file.h | 3 | ||||
| -rw-r--r-- | include/linux/fs.h | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/file.h b/include/linux/file.h index 653477021e4c..69baf5a4f0a5 100644 --- a/include/linux/file.h +++ b/include/linux/file.h | |||
| @@ -117,7 +117,8 @@ struct task_struct; | |||
| 117 | 117 | ||
| 118 | struct files_struct *get_files_struct(struct task_struct *); | 118 | struct files_struct *get_files_struct(struct task_struct *); |
| 119 | void put_files_struct(struct files_struct *fs); | 119 | void put_files_struct(struct files_struct *fs); |
| 120 | void reset_files_struct(struct task_struct *, struct files_struct *); | 120 | void reset_files_struct(struct files_struct *); |
| 121 | int unshare_files(struct files_struct **); | ||
| 121 | 122 | ||
| 122 | extern struct kmem_cache *files_cachep; | 123 | extern struct kmem_cache *files_cachep; |
| 123 | 124 | ||
diff --git a/include/linux/fs.h b/include/linux/fs.h index 6556f2f967e5..d6d7c52055c6 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -1309,7 +1309,7 @@ struct super_operations { | |||
| 1309 | int (*statfs) (struct dentry *, struct kstatfs *); | 1309 | int (*statfs) (struct dentry *, struct kstatfs *); |
| 1310 | int (*remount_fs) (struct super_block *, int *, char *); | 1310 | int (*remount_fs) (struct super_block *, int *, char *); |
| 1311 | void (*clear_inode) (struct inode *); | 1311 | void (*clear_inode) (struct inode *); |
| 1312 | void (*umount_begin) (struct vfsmount *, int); | 1312 | void (*umount_begin) (struct super_block *); |
| 1313 | 1313 | ||
| 1314 | int (*show_options)(struct seq_file *, struct vfsmount *); | 1314 | int (*show_options)(struct seq_file *, struct vfsmount *); |
| 1315 | int (*show_stats)(struct seq_file *, struct vfsmount *); | 1315 | int (*show_stats)(struct seq_file *, struct vfsmount *); |
| @@ -2034,9 +2034,6 @@ static inline ino_t parent_ino(struct dentry *dentry) | |||
| 2034 | return res; | 2034 | return res; |
| 2035 | } | 2035 | } |
| 2036 | 2036 | ||
| 2037 | /* kernel/fork.c */ | ||
| 2038 | extern int unshare_files(void); | ||
| 2039 | |||
| 2040 | /* Transaction based IO helpers */ | 2037 | /* Transaction based IO helpers */ |
| 2041 | 2038 | ||
| 2042 | /* | 2039 | /* |
