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

Next file: linux/include/net/tcp.h
Previous file: linux/include/linux/posix_types.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.1/linux/include/linux/sched.h linux/include/linux/sched.h
@@ -108,19 +108,17 @@
 
 asmlinkage void schedule(void);
 
-/* ??? */
+/* Open file table structure */
 struct files_struct {
-	/* ??? */
 	int count;
-	/* bit mask to close fds on exec */
 	fd_set close_on_exec;
-	/* do we have at most NR_OPEN available fds? I assume fd i maps into
- 	 * each open file */	
+	fd_set open_fds;
 	struct file * fd[NR_OPEN];
 };
 
 #define INIT_FILES { \
 	1, \
+	{ { 0, } }, \
 	{ { 0, } }, \
 	{ NULL, } \
 }

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