summaryrefslogtreecommitdiffstats
path: root/fs/fifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fifo.c')
-rw-r--r--fs/fifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fifo.c b/fs/fifo.c
index dbcbcb754..5117d3a6e 100644
--- a/fs/fifo.c
+++ b/fs/fifo.c
@@ -155,6 +155,6 @@ void init_fifo(struct inode * inode)
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;
}