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

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