summaryrefslogtreecommitdiffstats
path: root/fs/pipe.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
commit27cfca1ec98e91261b1a5355d10a8996464b63af (patch)
tree8e895a53e372fa682b4c0a585b9377d67ed70d0e /fs/pipe.c
parent6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff)
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too o Upgrade to 2.1.89. Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'fs/pipe.c')
-rw-r--r--fs/pipe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/pipe.c b/fs/pipe.c
index 078d6be3b..cb8a84d84 100644
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -174,7 +174,7 @@ static unsigned int pipe_poll(struct file * filp, poll_table * wait)
unsigned int mask;
struct inode * inode = filp->f_dentry->d_inode;
- poll_wait(&PIPE_WAIT(*inode), wait);
+ poll_wait(filp, &PIPE_WAIT(*inode), wait);
mask = POLLIN | POLLRDNORM;
if (PIPE_EMPTY(*inode))
mask = POLLOUT | POLLWRNORM;
@@ -195,7 +195,7 @@ static unsigned int fifo_poll(struct file * filp, poll_table * wait)
unsigned int mask;
struct inode * inode = filp->f_dentry->d_inode;
- poll_wait(&PIPE_WAIT(*inode), wait);
+ poll_wait(filp, &PIPE_WAIT(*inode), wait);
mask = POLLIN | POLLRDNORM;
if (PIPE_EMPTY(*inode))
mask = POLLOUT | POLLWRNORM;
@@ -228,7 +228,7 @@ static unsigned int connect_poll(struct file * filp, poll_table * wait)
{
struct inode * inode = filp->f_dentry->d_inode;
- poll_wait(&PIPE_WAIT(*inode), wait);
+ poll_wait(filp, &PIPE_WAIT(*inode), wait);
if (!PIPE_EMPTY(*inode)) {
filp->f_op = &read_fifo_fops;
return POLLIN | POLLRDNORM;