patch-2.3.9 linux/include/linux/sched.h
Next file: linux/include/linux/string.h
Previous file: linux/include/linux/proc_fs.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Wed Jun 30 12:42:45 1999
- Orig file:
v2.3.8/linux/include/linux/sched.h
- Orig date:
Tue Jun 22 14:41:47 1999
diff -u --recursive --new-file v2.3.8/linux/include/linux/sched.h linux/include/linux/sched.h
@@ -130,6 +130,7 @@
*/
struct files_struct {
atomic_t count;
+ rwlock_t file_lock;
int max_fds;
struct file ** fd; /* current fd array */
fd_set close_on_exec;
@@ -138,6 +139,7 @@
#define INIT_FILES { \
ATOMIC_INIT(1), \
+ RW_LOCK_UNLOCKED, \
NR_OPEN, \
&init_fd_array[0], \
{ { 0, } }, \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)