patch-2.1.43 linux/fs/pipe.c

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

diff -u --recursive --new-file v2.1.42/linux/fs/pipe.c linux/fs/pipe.c
@@ -385,7 +385,6 @@
 	NULL,			/* mknod */
 	NULL,			/* rename */
 	NULL,			/* readlink */
-	NULL,			/* follow_link */
 	NULL,			/* readpage */
 	NULL,			/* writepage */
 	NULL,			/* bmap */
@@ -442,7 +441,7 @@
 close_f12_inode_i:
 	put_unused_fd(i);
 close_f12_inode:
-	inode->i_count--;
+	atomic_dec(&inode->i_count);
 	iput(inode);
 close_f12:
 	put_filp(f2);

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