patch-2.4.21 linux-2.4.21/fs/nfsd/nfsxdr.c

Next file: linux-2.4.21/fs/nfsd/vfs.c
Previous file: linux-2.4.21/fs/nfsd/nfsproc.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/fs/nfsd/nfsxdr.c linux-2.4.21/fs/nfsd/nfsxdr.c
@@ -385,7 +385,7 @@
 {
 	struct statfs	*stat = &resp->stats;
 
-	*p++ = htonl(8 * 1024);		/* max transfer size */
+	*p++ = htonl(NFSSVC_MAXBLKSIZE);	/* max transfer size */
 	*p++ = htonl(stat->f_bsize);
 	*p++ = htonl(stat->f_blocks);
 	*p++ = htonl(stat->f_bfree);

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