patch-2.1.82 linux/fs/nfsd/vfs.c

Next file: linux/fs/nls/nls_cp862.c
Previous file: linux/fs/nfsd/nfssvc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.81/linux/fs/nfsd/vfs.c linux/fs/nfsd/vfs.c
@@ -1041,7 +1041,7 @@
 	memset(&cd, 0, sizeof(cd));
 	cd.rqstp  = rqstp;
 	cd.buffer = buffer;
-	cd.buflen = *countp >> 2;
+	cd.buflen = *countp; /* count of words */
 
 	/*
 	 * Read the directory entries. This silly loop is necessary because

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov