X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Ffile.h;h=5206beb9a80e562df9377e37a2cad4cb0b8e016f;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=b3fbadf31eed6abf0236a1b421aa30ef071b5244;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/linux/file.h b/include/linux/file.h index b3fbadf31..5206beb9a 100644 --- a/include/linux/file.h +++ b/include/linux/file.h @@ -53,13 +53,13 @@ extern void filp_ctor(void * objp, struct kmem_cache_s *cachep, unsigned long cf extern void filp_dtor(void * objp, struct kmem_cache_s *cachep, unsigned long dflags); extern struct file ** alloc_fd_array(int); -extern int expand_fd_array(struct files_struct *, int nr); extern void free_fd_array(struct file **, int); extern fd_set *alloc_fdset(int); -extern int expand_fdset(struct files_struct *, int nr); extern void free_fdset(fd_set *, int); +extern int expand_files(struct files_struct *, int nr); + static inline struct file * fcheck_files(struct files_struct *files, unsigned int fd) { struct file * file = NULL;