diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-08-15 19:56:12 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-26 21:08:54 -0400 |
commit | 7cf4dc3c8dbfdfde163d4636f621cf99a1f63bfb (patch) | |
tree | 66ae2653acb5c5325cc4fc921bba53b6e6760983 /include/linux/fdtable.h | |
parent | dcfadfa4ec5a12404a99ad6426871a6b03a62b37 (diff) |
move files_struct-related bits from kernel/exit.c to fs/file.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fdtable.h')
-rw-r--r-- | include/linux/fdtable.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/fdtable.h b/include/linux/fdtable.h index b84ca064f727..3855f4febe70 100644 --- a/include/linux/fdtable.h +++ b/include/linux/fdtable.h | |||
@@ -94,14 +94,8 @@ struct vfsmount; | |||
94 | struct dentry; | 94 | struct dentry; |
95 | 95 | ||
96 | extern int expand_files(struct files_struct *, int nr); | 96 | extern int expand_files(struct files_struct *, int nr); |
97 | extern void free_fdtable_rcu(struct rcu_head *rcu); | ||
98 | extern void __init files_defer_init(void); | 97 | extern void __init files_defer_init(void); |
99 | 98 | ||
100 | static inline void free_fdtable(struct fdtable *fdt) | ||
101 | { | ||
102 | call_rcu(&fdt->rcu, free_fdtable_rcu); | ||
103 | } | ||
104 | |||
105 | static inline struct file * fcheck_files(struct files_struct *files, unsigned int fd) | 99 | static inline struct file * fcheck_files(struct files_struct *files, unsigned int fd) |
106 | { | 100 | { |
107 | struct file * file = NULL; | 101 | struct file * file = NULL; |