···5757 * POSIX.1 says that O_NONBLOCK means return with the FIFO5858 * opened, even when there is no process writing the FIFO.5959 */6060- filp->f_op = &read_fifo_fops;6060+ filp->f_op = &read_pipefifo_fops;6161 pipe->r_counter++;6262 if (pipe->readers++ == 0)6363 wake_up_partner(inode);···8686 if ((filp->f_flags & O_NONBLOCK) && !pipe->readers)8787 goto err;88888989- filp->f_op = &write_fifo_fops;8989+ filp->f_op = &write_pipefifo_fops;9090 pipe->w_counter++;9191 if (!pipe->writers++)9292 wake_up_partner(inode);···105105 * This implementation will NEVER block on a O_RDWR open, since106106 * the process can at least talk to itself.107107 */108108- filp->f_op = &rdwr_fifo_fops;108108+ filp->f_op = &rdwr_pipefifo_fops;109109110110 pipe->readers++;111111 pipe->writers++;···151151 * depending on the access mode of the file...152152 */153153const struct file_operations def_fifo_fops = {154154- .open = fifo_open, /* will set read or write pipe_fops */154154+ .open = fifo_open, /* will set read_ or write_pipefifo_fops */155155};