diff options
Diffstat (limited to 'fs/fifo.c')
-rw-r--r-- | fs/fifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |