diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-08-19 12:04:24 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-26 21:08:56 -0400 |
commit | 483ce1d4b8c3b82bc9c9a1dd9dbc44f50b3aaf5a (patch) | |
tree | 46a43df814fc7f7bb0c22d0c47fabb7db95d7ada /include/linux/fdtable.h | |
parent | 0ee8cdfe6af052deb56dccd54838a1eb32fb4ca2 (diff) |
take descriptor-related part of close() to 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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fdtable.h b/include/linux/fdtable.h index 59d4fc7f10c8..59488f2392bc 100644 --- a/include/linux/fdtable.h +++ b/include/linux/fdtable.h | |||
@@ -123,6 +123,8 @@ extern int __alloc_fd(struct files_struct *files, | |||
123 | unsigned start, unsigned end, unsigned flags); | 123 | unsigned start, unsigned end, unsigned flags); |
124 | extern void __fd_install(struct files_struct *files, | 124 | extern void __fd_install(struct files_struct *files, |
125 | unsigned int fd, struct file *file); | 125 | unsigned int fd, struct file *file); |
126 | extern int __close_fd(struct files_struct *files, | ||
127 | unsigned int fd); | ||
126 | 128 | ||
127 | extern struct kmem_cache *files_cachep; | 129 | extern struct kmem_cache *files_cachep; |
128 | 130 | ||