patch-2.4.0-test7 linux/fs/nfs/proc.c

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

diff -u --recursive --new-file v2.4.0-test6/linux/fs/nfs/proc.c linux/fs/nfs/proc.c
@@ -321,11 +321,7 @@
 	struct nfs_readdirargs	arg;
 	struct nfs_readdirres	res;
 	struct rpc_message	msg = { NFSPROC_READDIR, &arg, &res, cred };
-	struct nfs_server       *server = NFS_DSERVER(dir);
 	int			status;
-
-	if (server->rsize < size)
-		size = server->rsize;
 
 	arg.fh = NFS_FH(dir);
 	arg.cookie = cookie;

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