diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/file.h | 3 | ||||
-rw-r--r-- | include/linux/init_task.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/file.h b/include/linux/file.h index 02be4012225b..319118f275b0 100644 --- a/include/linux/file.h +++ b/include/linux/file.h | |||
@@ -32,7 +32,6 @@ struct fdtable { | |||
32 | fd_set *close_on_exec; | 32 | fd_set *close_on_exec; |
33 | fd_set *open_fds; | 33 | fd_set *open_fds; |
34 | struct rcu_head rcu; | 34 | struct rcu_head rcu; |
35 | struct files_struct *free_files; | ||
36 | struct fdtable *next; | 35 | struct fdtable *next; |
37 | }; | 36 | }; |
38 | 37 | ||
@@ -84,7 +83,7 @@ extern fd_set *alloc_fdset(int); | |||
84 | extern void free_fdset(fd_set *, int); | 83 | extern void free_fdset(fd_set *, int); |
85 | 84 | ||
86 | extern int expand_files(struct files_struct *, int nr); | 85 | extern int expand_files(struct files_struct *, int nr); |
87 | extern void free_fdtable(struct fdtable *fdt); | 86 | extern void free_fdtable_rcu(struct rcu_head *rcu); |
88 | extern void __init files_defer_init(void); | 87 | extern void __init files_defer_init(void); |
89 | 88 | ||
90 | static inline struct file * fcheck_files(struct files_struct *files, unsigned int fd) | 89 | static inline struct file * fcheck_files(struct files_struct *files, unsigned int fd) |
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 58c18daab65d..b5315150199e 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h | |||
@@ -16,7 +16,6 @@ | |||
16 | .close_on_exec = (fd_set *)&init_files.close_on_exec_init, \ | 16 | .close_on_exec = (fd_set *)&init_files.close_on_exec_init, \ |
17 | .open_fds = (fd_set *)&init_files.open_fds_init, \ | 17 | .open_fds = (fd_set *)&init_files.open_fds_init, \ |
18 | .rcu = RCU_HEAD_INIT, \ | 18 | .rcu = RCU_HEAD_INIT, \ |
19 | .free_files = NULL, \ | ||
20 | .next = NULL, \ | 19 | .next = NULL, \ |
21 | } | 20 | } |
22 | 21 | ||