patch-2.1.45 linux/fs/nfs/read.c
Next file: linux/fs/nfs/write.c
Previous file: linux/fs/nfs/nfsroot.c
Back to the patch index
Back to the overall index
-  Lines: 16
-  Date:
Wed Jul 16 12:54:02 1997
-  Orig file: 
v2.1.44/linux/fs/nfs/read.c
-  Orig date: 
Mon Jun 16 16:35:58 1997
diff -u --recursive --new-file v2.1.44/linux/fs/nfs/read.c linux/fs/nfs/read.c
@@ -150,7 +150,6 @@
 		fail++;
 		dprintk("NFS: %d successful reads, %d failures\n", succ, fail);
 	}
-	iput(req->ra_inode);
 	clear_bit(PG_locked, &page->flags);
 	wake_up(&page->wait);
 
@@ -188,7 +187,6 @@
 				nfs_readpage_result, req);
 
 	if (result >= 0) {
-		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