Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/nfs Pull up revision 1.52 (requested by fvdl):



details:   https://anonhg.NetBSD.org/src/rev/ab2f53bb5f39
branches:  netbsd-1-4
changeset: 469855:ab2f53bb5f39
user:      he <he%NetBSD.org@localhost>
date:      Thu Dec 16 22:07:54 1999 +0000

description:
Pull up revision 1.52 (requested by fvdl):
  Correct length check in readdirplus, making 32k readdir sizes
  work.

diffstat:

 sys/nfs/nfs_serv.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fe9c88410a74 -r ab2f53bb5f39 sys/nfs/nfs_serv.c
--- a/sys/nfs/nfs_serv.c        Sun Dec 12 18:00:29 1999 +0000
+++ b/sys/nfs/nfs_serv.c        Thu Dec 16 22:07:54 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_serv.c,v 1.50.2.1 1999/05/04 17:10:00 perry Exp $  */
+/*     $NetBSD: nfs_serv.c,v 1.50.2.2 1999/12/16 22:07:54 he Exp $     */
 
 /*
  * Copyright (c) 1989, 1993
@@ -2934,7 +2934,7 @@
                         * are calculated conservatively, including all
                         * XDR overheads.
                         */
-                       len += (7 * NFSX_UNSIGNED + nlen + rem + NFSX_V3FH +
+                       len += (8 * NFSX_UNSIGNED + nlen + rem + NFSX_V3FH +
                                NFSX_V3POSTOPATTR);
                        dirlen += (6 * NFSX_UNSIGNED + nlen + rem);
                        if (len > cnt || dirlen > fullsiz) {



Home | Main Index | Thread Index | Old Index