patch-2.1.82 linux/fs/nfs/nfs2xdr.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.1.81/linux/fs/nfs/nfs2xdr.c linux/fs/nfs/nfs2xdr.c
@@ -406,8 +406,9 @@
 
 		len = ntohl(*p++);
 		if ((p + QUADLEN(len) + 3) > end) {
-			printk(KERN_NOTICE
-				"NFS: short packet in readdir reply!\n");
+			printk(KERN_WARNING "NFS: short readdir reply! "
+				"nr=%d, slots=%d, len=%d\n",
+				nr, (end - p), len);
 			break;
 		}
 		if (len > NFS_MAXNAMLEN) {

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