X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Ffile.h;h=1c1e0b38b1b5d579cd2f3095a26d0dfd497b160b;hb=f1227cd3e0e73c48b93368800aa89f4341103a00;hp=a029c045a302a6a9b8f37f292683f226467db1e7;hpb=340e2b1a4c74f653454348914c408420d5d3c28a;p=linux-2.6.git diff --git a/include/linux/file.h b/include/linux/file.h index a029c045a..1c1e0b38b 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;