patch-2.3.1 linux/fs/fifo.c

Next file: linux/fs/hfs/ChangeLog
Previous file: linux/fs/fat/misc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/fs/fifo.c linux/fs/fifo.c
@@ -155,6 +155,6 @@
 	PIPE_BASE(*inode) = NULL;
 	PIPE_START(*inode) = PIPE_LEN(*inode) = 0;
 	PIPE_RD_OPENERS(*inode) = PIPE_WR_OPENERS(*inode) = 0;
-	PIPE_WAIT(*inode) = NULL;
+	init_waitqueue_head(&PIPE_WAIT(*inode));
 	PIPE_READERS(*inode) = PIPE_WRITERS(*inode) = 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)