Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2020 01:29:40 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r362567 - projects/nfs-over-tls/sys/fs/nfs
Message-ID:  <202006240129.05O1TeIf081063@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Wed Jun 24 01:29:40 2020
New Revision: 362567
URL: https://svnweb.freebsd.org/changeset/base/362567

Log:
  Move the new fields in struct nfsrv_descript to the end of the structure.
  This makes integration a little simpler, since the offsets of the other
  fields no longer change.

Modified:
  projects/nfs-over-tls/sys/fs/nfs/nfs.h

Modified: projects/nfs-over-tls/sys/fs/nfs/nfs.h
==============================================================================
--- projects/nfs-over-tls/sys/fs/nfs/nfs.h	Wed Jun 24 00:22:10 2020	(r362566)
+++ projects/nfs-over-tls/sys/fs/nfs/nfs.h	Wed Jun 24 01:29:40 2020	(r362567)
@@ -646,9 +646,6 @@ struct nfsrv_descript {
 	NFSSOCKADDR_T		nd_nam2;	/* return socket addr */
 	caddr_t			nd_dpos;	/* Current dissect pos */
 	caddr_t			nd_bpos;	/* Current build pos */
-	int			nd_bextpg;	/* Current ext_pgs page */
-	int			nd_bextpgsiz;	/* Bytes left in page */
-	int			nd_maxextsiz;	/* Max ext_pgs mbuf size */
 	u_int64_t		nd_flag;	/* nd_flag */
 	u_int16_t		nd_procnum;	/* RPC # */
 	u_int32_t		nd_repstat;	/* Reply status */
@@ -673,6 +670,9 @@ struct nfsrv_descript {
 	nfsv4stateid_t		nd_savedcurstateid; /* Saved Current StateID */
 	uint32_t		nd_maxreq;	/* Max. request (session). */
 	uint32_t		nd_maxresp;	/* Max. reply (session). */
+	int			nd_bextpg;	/* Current ext_pgs page */
+	int			nd_bextpgsiz;	/* Bytes left in page */
+	int			nd_maxextsiz;	/* Max ext_pgs mbuf size */
 };
 
 #define	nd_princlen	nd_gssnamelen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006240129.05O1TeIf081063>