patch-2.1.43 linux/fs/nfs/read.c
Next file: linux/fs/nfs/symlink.c
Previous file: linux/fs/nfs/proc.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Thu Jun 12 16:22:08 1997
-  Orig file: 
v2.1.42/linux/fs/nfs/read.c
-  Orig date: 
Mon Apr 14 16:28:17 1997
diff -u --recursive --new-file v2.1.42/linux/fs/nfs/read.c linux/fs/nfs/read.c
@@ -188,7 +188,7 @@
 				nfs_readpage_result, req);
 
 	if (result >= 0) {
-		inode->i_count++;
+		atomic_inc(&inode->i_count);
 		atomic_inc(&page->count);
 		return 0;
 	}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov