patch-2.1.89 linux/fs/pipe.c

Next file: linux/fs/proc/array.c
Previous file: linux/fs/open.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.88/linux/fs/pipe.c linux/fs/pipe.c
@@ -174,7 +174,7 @@
 	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 @@
 	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 @@
 {
 	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;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov