patch-2.4.26 linux-2.4.26/fs/nfs/read.c

Next file: linux-2.4.26/fs/nfs/write.c
Previous file: linux-2.4.26/fs/nfs/pagelist.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.25/fs/nfs/read.c linux-2.4.26/fs/nfs/read.c
@@ -371,7 +371,7 @@
 nfs_scan_read(struct inode *inode, struct list_head *dst, unsigned long idx_start, unsigned int npages)
 {
 	int	res;
-	res = nfs_scan_list(&inode->u.nfs_i.read, dst, NULL, idx_start, npages);
+	res = nfs_scan_list(&inode->u.nfs_i.read, dst, idx_start, npages);
 	inode->u.nfs_i.nread -= res;
 	if ((inode->u.nfs_i.nread == 0) != list_empty(&inode->u.nfs_i.read))
 		printk(KERN_ERR "NFS: desynchronized value of nfs_i.nread.\n");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)