patch-2.3.99-pre9 linux/fs/nfs/nfs2xdr.c

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

diff -u --recursive --new-file v2.3.99-pre8/linux/fs/nfs/nfs2xdr.c linux/fs/nfs/nfs2xdr.c
@@ -485,13 +485,6 @@
 			break;
 		}
 	}
-	p++; /* EOF flag */
-
-	if (p > end) {
-		printk(KERN_NOTICE
-			"NFS: short packet in readdir reply!\n");
-		return -errno_NFSERR_IO;
-	}
 	return nr;
 }
 

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