patch-2.3.1 linux/fs/pipe.c
Next file: linux/fs/proc/array.c
Previous file: linux/fs/nfsd/export.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue May 11 14:37:40 1999
- Orig file:
v2.3.0/linux/fs/pipe.c
- Orig date:
Fri Nov 13 10:07:26 1998
diff -u --recursive --new-file v2.3.0/linux/fs/pipe.c linux/fs/pipe.c
@@ -414,7 +414,7 @@
} else {
PIPE_BASE(*inode) = (char *) page;
inode->i_op = &pipe_inode_operations;
- PIPE_WAIT(*inode) = NULL;
+ init_waitqueue_head(&PIPE_WAIT(*inode));
PIPE_START(*inode) = PIPE_LEN(*inode) = 0;
PIPE_RD_OPENERS(*inode) = PIPE_WR_OPENERS(*inode) = 0;
PIPE_READERS(*inode) = PIPE_WRITERS(*inode) = 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)