patch-2.0.2 linux/include/linux/fs.h

Next file: linux/include/linux/in.h
Previous file: linux/include/asm-i386/errno.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.1/linux/include/linux/fs.h linux/include/linux/fs.h
@@ -623,6 +623,8 @@
 extern void insert_inode_hash(struct inode *);
 extern void clear_inode(struct inode *);
 extern struct inode * get_pipe_inode(void);
+extern int get_unused_fd(void);
+extern void put_unused_fd(int);
 extern struct file * get_empty_filp(void);
 extern int close_fp(struct file *filp);
 extern struct buffer_head * get_hash_table(kdev_t dev, int block, int size);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov