From owner-cvs-all Wed Aug 4 7:42:35 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 472CF15153; Wed, 4 Aug 1999 07:42:33 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA13225; Wed, 4 Aug 1999 07:41:41 -0700 (PDT) (envelope-from peter@FreeBSD.org) Message-Id: <199908041441.HAA13225@freefall.freebsd.org> From: Peter Wemm Date: Wed, 4 Aug 1999 07:41:41 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfs nfsm_subs.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 1999/08/04 07:41:40 PDT Modified files: sys/nfs nfsm_subs.h Log: Don't over-allocate and over-copy shorter NFSv2 filehandles and then correct the pointers afterwards. It's kinda bogus that we generate a 24 (?) byte filehandle (2 x int32 fsid and 16 byte VFS fhandle) and pad it out to 64 bytes for NFSv3 with garbage. The whole point of NFSv3's variable filehandle length was to allow for shorter handles, both in memory and over the wire. I plan on taking a shot at fixing this shortly. Revision Changes Path 1.25 +11 -10 src/sys/nfs/nfsm_subs.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message