Home | History | Annotate | only in /src/sys/fs/nfs
History log of /src/sys/fs/nfs
RevisionDateAuthorComments
 1.1 30-Sep-2013  dholland branches: 1.1.4; 1.1.6; 1.1.10;
Explain what's here.
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 30-Sep-2013  tls file README.newnfs was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.6.1 30-Sep-2013  yamt file README.newnfs was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.4.2 18-May-2014  rmind sync with head
 1.1.4.1 30-Sep-2013  rmind file README.newnfs was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.7 13-Dec-2016  pgoyette One more option for the opt_ file.
 1.6 18-Nov-2016  pgoyette Add the initial module(9) infrastructure
 1.5 18-Nov-2016  pgoyette Clean up after the import auto-generate.

At least now it doesn't cause config(1) any problems.
 1.4 18-Nov-2016  pgoyette Resolve conflicts
 1.3 22-Sep-2016  christos add missing attribute
 1.2 11-Oct-2014  uebayasi branches: 1.2.2; 1.2.4;
Define filesystem attributes with vfs dependency.
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file files.newnfs was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file files.newnfs was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file files.newnfs was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2.4.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.4.1 04-Nov-2016  pgoyette Sync with HEAD
 1.2.2.3 05-Feb-2017  skrll Sync with HEAD
 1.2.2.2 05-Dec-2016  skrll Sync with HEAD
 1.2.2.1 05-Oct-2016  skrll Sync with HEAD
 1.1 30-Sep-2013  dholland branches: 1.1.1; 1.1.4; 1.1.6; 1.1.10;
The script for preparing an import of this nfs code.
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 30-Sep-2013  tls file nfs2netbsd.sh was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.6.1 30-Sep-2013  yamt file nfs2netbsd.sh was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.4.2 18-May-2014  rmind sync with head
 1.1.4.1 30-Sep-2013  rmind file nfs2netbsd.sh was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1.1.1 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.2 13-Dec-2016  pgoyette More changes for creds, mutex, etc.
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs.h was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.7 29-Mar-2021  simonb Don't use legacy VM types.
 1.6 29-Sep-2020  msaitoh branches: 1.6.2; 1.6.4;
s/implicitely/implicitly/
 1.5 03-Sep-2018  riastradh Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER! Some subsystems have

#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
 1.4 18-Nov-2016  pgoyette branches: 1.4.14; 1.4.16;
More clean-up of #includes
 1.3 18-Nov-2016  pgoyette Resolve conflicts
 1.2 09-Dec-2013  wiz branches: 1.2.4; 1.2.6; 1.2.10; 1.2.12; 1.2.16;
Fix typo ("then" instead of "than")
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.2.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.12.1 05-Dec-2016  skrll Sync with HEAD
 1.2.10.3 03-Dec-2017  jdolecek update from HEAD
 1.2.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.10.1 09-Dec-2013  tls file nfs_clbio.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.2.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.6.1 09-Dec-2013  yamt file nfs_clbio.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.2.4.2 18-May-2014  rmind sync with head
 1.2.4.1 09-Dec-2013  rmind file nfs_clbio.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.4.16.1 10-Jun-2019  christos Sync with HEAD
 1.4.14.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.6.4.1 03-Apr-2021  thorpej Sync with HEAD.
 1.6.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.4 09-Feb-2022  andvar s/ony/only/
 1.3 10-Nov-2021  msaitoh s/derefernce/dereference/ in comment.
 1.2 18-Nov-2016  pgoyette More clean-up of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clcomsubs.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clcomsubs.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clcomsubs.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 18-Nov-2016  pgoyette branches: 1.2.2; 1.2.4; 1.2.18;
More clean-up of #includes
 1.1 18-Nov-2016  pgoyette branches: 1.1.1;
Initial revision
 1.1.1.1 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.2.18.2 03-Dec-2017  jdolecek update from HEAD
 1.2.18.1 18-Nov-2016  jdolecek file nfs_clkdtrace.c was added on branch tls-maxphys on 2017-12-03 11:38:42 +0000
 1.2.4.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.4.1 18-Nov-2016  pgoyette file nfs_clkdtrace.c was added on branch pgoyette-localcount on 2017-01-07 08:56:48 +0000
 1.2.2.2 05-Dec-2016  skrll Sync with HEAD
 1.2.2.1 18-Nov-2016  skrll file nfs_clkdtrace.c was added on branch nick-nhusb on 2016-12-05 10:55:25 +0000
 1.3 05-Jul-2024  rin sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@
 1.2 13-Dec-2016  pgoyette branches: 1.2.52;
Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clkrpc.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clkrpc.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clkrpc.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2.52.1 02-Aug-2025  perseant Sync with HEAD
 1.1 18-Nov-2016  pgoyette branches: 1.1.2; 1.1.4; 1.1.18;
Add the initial module(9) infrastructure
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 18-Nov-2016  jdolecek file nfs_clmodule.c was added on branch tls-maxphys on 2017-12-03 11:38:42 +0000
 1.1.4.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.4.1 18-Nov-2016  pgoyette file nfs_clmodule.c was added on branch pgoyette-localcount on 2017-01-07 08:56:48 +0000
 1.1.2.2 05-Dec-2016  skrll Sync with HEAD
 1.1.2.1 18-Nov-2016  skrll file nfs_clmodule.c was added on branch nick-nhusb on 2016-12-05 10:55:25 +0000
 1.2 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clnfsiod.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clnfsiod.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clnfsiod.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.2 18-Nov-2016  pgoyette More clean-up of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clnode.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clnode.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clnode.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clport.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clport.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clport.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.5 27-Feb-2025  andvar Fix various typos in comments.
 1.4 05-Jul-2024  rin sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@
 1.3 08-Feb-2024  andvar branches: 1.3.2;
fix misplaced or missing "e" in words with "ment" ending (argument, implement,
increment, decrement, alignment), in comments, documentation, log messages.
 1.2 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clrpcops.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clrpcops.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clrpcops.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3.2.1 02-Aug-2025  perseant Sync with HEAD
 1.4 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.3 18-Nov-2016  pgoyette Resolve conflicts
 1.2 18-Oct-2014  snj branches: 1.2.2; 1.2.4;
src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clstate.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clstate.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clstate.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2.4.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.2.2 05-Feb-2017  skrll Sync with HEAD
 1.2.2.1 05-Dec-2016  skrll Sync with HEAD
 1.2 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clsubs.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clsubs.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clsubs.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3 03-Sep-2018  riastradh Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER! Some subsystems have

#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
 1.2 13-Dec-2016  pgoyette branches: 1.2.14; 1.2.16;
Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clvfsops.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clvfsops.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clvfsops.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2.16.1 10-Jun-2019  christos Sync with HEAD
 1.2.14.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.4 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.3 18-Nov-2016  pgoyette Resolve conflicts
 1.2 25-Mar-2014  christos branches: 1.2.4; 1.2.6; 1.2.10; 1.2.12; 1.2.16;
kill sprintf.
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.2.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.12.2 05-Feb-2017  skrll Sync with HEAD
 1.2.12.1 05-Dec-2016  skrll Sync with HEAD
 1.2.10.3 03-Dec-2017  jdolecek update from HEAD
 1.2.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.10.1 25-Mar-2014  tls file nfs_clvnops.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.2.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.6.1 25-Mar-2014  yamt file nfs_clvnops.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.2.4.2 18-May-2014  rmind sync with head
 1.2.4.1 25-Mar-2014  rmind file nfs_clvnops.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_kdtrace.h was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_kdtrace.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_kdtrace.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.2 18-Nov-2016  pgoyette More clean-up of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfsmount.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfsmount.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfsmount.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.2 18-Nov-2016  pgoyette More clean-up of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfsnode.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfsnode.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfsnode.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nlminfo.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nlminfo.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nlminfo.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3 13-Dec-2016  pgoyette Mostly mechanical updates for caddr_t, thread, mutex, and credentials
 1.2 18-Nov-2016  pgoyette Clean up some #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file bootp_subr.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file bootp_subr.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file bootp_subr.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette Mostly mechanical updates for caddr_t, thread, mutex, and credentials
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file krpc.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file krpc.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file krpc.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.7 05-Jul-2024  rin sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@
 1.6 18-Nov-2016  pgoyette branches: 1.6.52;
Clean up some #includes
 1.5 18-Nov-2016  pgoyette Resolve conflicts
 1.4 10-Jun-2016  ozaki-r branches: 1.4.2;
Introduce m_set_rcvif and m_reset_rcvif

The API is used to set (or reset) a received interface of a mbuf.
They are counterpart of m_get_rcvif, which will come in another
commit, hide internal of rcvif operation, and reduce the diff of
the upcoming change.

No functional change.
 1.3 07-Feb-2015  mlelstv invalidate input mbuf as soon as it is consumed by the mbuf chain
to avoid a double free later.
 1.2 07-Feb-2015  christos fix mbuf leak; this is not being compiled yet.
Reported by:
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.12;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.12.3 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.12.2 09-Jul-2016  skrll Sync with HEAD
 1.1.1.1.12.1 06-Apr-2015  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file krpc_subr.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.8.1 16-Feb-2015  martin Pull up following revision(s) (requested by maxv in ticket #520):
sys/ufs/chfs/ebh.c: revision 1.6
sys/dev/sdmmc/sdmmc_mem.c: revision 1.33
sys/dev/ic/aic7xxx.c: revision 1.132
sys/fs/nfs/common/krpc_subr.c: revision 1.2
sys/modules/lua/lua.c: revision 1.16
sys/fs/udf/udf_subr.c: revision 1.128
sys/ufs/chfs/chfs_scan.c: revision 1.6
sys/dev/ic/an.c: revision 1.62

Fix six memory leaks and two inconsistencies.
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file krpc_subr.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file krpc_subr.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.4.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.6.52.1 02-Aug-2025  perseant Sync with HEAD
 1.2 13-Dec-2016  pgoyette Mostly mechanical updates for caddr_t, thread, mutex, and credentials
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_common.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_common.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_common.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette More cleanup of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_commonacl.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_commonacl.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_commonacl.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3 16-Jun-2023  andvar s/curent/current/ in comment.
 1.2 13-Dec-2016  pgoyette More cleanup of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_commonkrpc.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_commonkrpc.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_commonkrpc.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette More cleanup of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_commonport.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_commonport.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_commonport.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.7 05-Jul-2024  rin sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@
 1.6 05-Feb-2024  andvar branches: 1.6.2;
fix various typos in comments.
 1.5 07-Oct-2022  andvar s/alpahbetics/alphabetics/ in comment.
 1.4 03-Sep-2018  riastradh Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER! Some subsystems have

#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
 1.3 26-Apr-2018  maxv branches: 1.3.2;
Fix inverted arguments in MGET().
 1.2 13-Dec-2016  pgoyette branches: 1.2.14;
More cleanup of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_commonsubs.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_commonsubs.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_commonsubs.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2.14.2 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.2.14.1 02-May-2018  pgoyette Synch with HEAD
 1.3.2.1 10-Jun-2019  christos Sync with HEAD
 1.6.2.1 02-Aug-2025  perseant Sync with HEAD
 1.2 13-Dec-2016  pgoyette More cleanup of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_diskless.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_diskless.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_diskless.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette More cleanup of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_fha.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_fha.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_fha.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3 18-Nov-2016  pgoyette Resolve conflicts
 1.2 07-Jul-2016  msaitoh branches: 1.2.2;
KNF. Remove extra spaces. No functional change.
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.12.2 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.12.1 09-Jul-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_fha.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_fha.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_fha.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_kdtrace.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_kdtrace.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_kdtrace.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3 02-Jan-2020  thorpej - Eliminate the global "boottime" variable, which was being accessed
without any synchronization against changes by e.g. clock_settime().
- Replace with new getbinboottime() / getnanoboottime() / getmicroboottime()
functions (naming mirrors that of other time access functions in kern_tc.c).
It returns the (maybe-converted) value of timebasebin, which also tracks
our estimate of when the system was booted (i.e. the legacy "boottime" was
redundant).

XXX There needs to be a lockless synchronization mechanism for reading
timebasebin, but this is a problem in kern_tc.c that pre-existed these
"boottime" changes. At least now the problem is centralized in one location.
 1.2 13-Dec-2016  pgoyette branches: 1.2.16;
More cleanup of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_lock.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_lock.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_lock.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2.16.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_lock.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_lock.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_lock.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 18-Nov-2016  pgoyette branches: 1.1.2; 1.1.4; 1.1.18;
Add the initial module(9) infrastructure
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 18-Nov-2016  jdolecek file nfs_module.c was added on branch tls-maxphys on 2017-12-03 11:38:42 +0000
 1.1.4.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.4.1 18-Nov-2016  pgoyette file nfs_module.c was added on branch pgoyette-localcount on 2017-01-07 08:56:48 +0000
 1.1.2.2 05-Dec-2016  skrll Sync with HEAD
 1.1.2.1 18-Nov-2016  skrll file nfs_module.c was added on branch nick-nhusb on 2016-12-05 10:55:25 +0000
 1.2 13-Dec-2016  pgoyette Mostly mechanical updates for caddr_t, thread, mutex, and credentials
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_mountcommon.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_mountcommon.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_mountcommon.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette More cleanup of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_nfssvc.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_nfssvc.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_nfssvc.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette Mostly mechanical updates for caddr_t, thread, mutex, and credentials
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_var.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_var.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_var.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfscl.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfscl.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfscl.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette Mostly mechanical updates for caddr_t, thread, mutex, and credentials
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfsclstate.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfsclstate.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfsclstate.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfsdiskless.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfsdiskless.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfsdiskless.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfsdport.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfsdport.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfsdport.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette Disable duplicate typedef
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfskpiport.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfskpiport.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfskpiport.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.4 13-Dec-2016  pgoyette Mostly mechanical updates for caddr_t, thread, mutex, and credentials
 1.3 18-Nov-2016  pgoyette Resolve conflicts
 1.2 07-Jul-2016  msaitoh branches: 1.2.2;
KNF. Remove extra spaces. No functional change.
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.12.3 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.2 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.12.1 09-Jul-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfsm_subs.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfsm_subs.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfsm_subs.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.4 01-Feb-2018  maxv Remove unused (and a reference to ovbcopy along the way).
 1.3 13-Dec-2016  pgoyette Mostly mechanical updates for caddr_t, thread, mutex, and credentials
 1.2 18-Nov-2016  pgoyette Clean up some #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfsport.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfsport.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfsport.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfsproto.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfsproto.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfsproto.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette Mostly mechanical updates for caddr_t, thread, mutex, and credentials
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfsrvcache.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfsrvcache.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfsrvcache.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3 08-Sep-2024  rillig fix a/an grammar in obvious cases
 1.2 13-Dec-2016  pgoyette branches: 1.2.52;
Mostly mechanical updates for caddr_t, thread, mutex, and credentials
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfsrvstate.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfsrvstate.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfsrvstate.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2.52.1 02-Aug-2025  perseant Sync with HEAD
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfssvc.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfssvc.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfssvc.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfsv4_errstr.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfsv4_errstr.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfsv4_errstr.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file old_xdr_subs.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file old_xdr_subs.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file old_xdr_subs.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file oldnfsproto.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file oldnfsproto.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file oldnfsproto.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file rpcv2.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file rpcv2.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file rpcv2.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file xdr_subs.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file xdr_subs.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file xdr_subs.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 07-Jul-2016  msaitoh KNF. Remove extra spaces. No functional change.
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.12.1 09-Jul-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nlm.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nlm.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nlm.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette Update for location of newnfs headers, clean up some other #include
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nlm_advlock.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nlm_advlock.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nlm_advlock.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nlm_prot.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nlm_prot.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nlm_prot.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette Update for location of newnfs headers, clean up some other #include
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nlm_prot_clnt.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nlm_prot_clnt.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nlm_prot_clnt.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.5 28-Apr-2023  andvar fix few typos and grammar in comments.
 1.4 13-Dec-2016  pgoyette Update for location of newnfs headers, clean up some other #include
 1.3 18-Nov-2016  pgoyette Resolve conflicts
 1.2 13-Dec-2015  christos branches: 1.2.2;
PR/50535: David Binderman: Fix nonsense strcmp
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.12.3 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.2 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.12.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nlm_prot_impl.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nlm_prot_impl.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nlm_prot_impl.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2 13-Dec-2016  pgoyette Update for location of newnfs headers, clean up some other #include
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nlm_prot_server.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nlm_prot_server.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nlm_prot_server.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette Update for location of newnfs headers, clean up some other #include
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nlm_prot_svc.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nlm_prot_svc.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nlm_prot_svc.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette Update for location of newnfs headers, clean up some other #include
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nlm_prot_xdr.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nlm_prot_xdr.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nlm_prot_xdr.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file sm_inter.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file sm_inter.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file sm_inter.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette Update for location of newnfs headers, clean up some other #include
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file sm_inter_xdr.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file sm_inter_xdr.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file sm_inter_xdr.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette Update locations for new nfs header files.

XXX Some #includes are just disabled (via #if 0) and will need to be
XXX resolved before further progress can be made.
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_fha_new.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_fha_new.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_fha_new.c was added on branch rmind-smpnet on 2014-05-18 17:46:06 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_fha_new.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_fha_new.h was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_fha_new.h was added on branch rmind-smpnet on 2014-05-18 17:46:06 +0000
 1.5 05-Jul-2024  rin sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@
 1.4 13-Dec-2016  pgoyette branches: 1.4.52;
Update locations for new nfs header files.

XXX Some #includes are just disabled (via #if 0) and will need to be
XXX resolved before further progress can be made.
 1.3 18-Nov-2016  pgoyette Resolve conflicts
 1.2 27-Nov-2013  christos branches: 1.2.4; 1.2.6; 1.2.10; 1.2.12; 1.2.16;
Change the queue.3 *_END(&head) macros to NULL. Since we don't have CIRCLEQ
anymore, all the macros expand to NULL anyway, so this improves readability.
Requested by rmind@
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.2.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.12.2 05-Feb-2017  skrll Sync with HEAD
 1.2.12.1 05-Dec-2016  skrll Sync with HEAD
 1.2.10.3 03-Dec-2017  jdolecek update from HEAD
 1.2.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.10.1 27-Nov-2013  tls file nfs_nfsdcache.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.2.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.6.1 27-Nov-2013  yamt file nfs_nfsdcache.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.2.4.2 18-May-2014  rmind sync with head
 1.2.4.1 27-Nov-2013  rmind file nfs_nfsdcache.c was added on branch rmind-smpnet on 2014-05-18 17:46:06 +0000
 1.4.52.1 02-Aug-2025  perseant Sync with HEAD
 1.5 05-Jul-2024  rin sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@
 1.4 13-Dec-2016  pgoyette branches: 1.4.52;
Update locations for new nfs header files.

XXX Some #includes are just disabled (via #if 0) and will need to be
XXX resolved before further progress can be made.
 1.3 18-Nov-2016  pgoyette Resolve conflicts
 1.2 25-Mar-2014  christos branches: 1.2.4; 1.2.6; 1.2.10; 1.2.12; 1.2.16;
kill sprintf.
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.2.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.12.2 05-Feb-2017  skrll Sync with HEAD
 1.2.12.1 05-Dec-2016  skrll Sync with HEAD
 1.2.10.3 03-Dec-2017  jdolecek update from HEAD
 1.2.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.10.1 25-Mar-2014  tls file nfs_nfsdkrpc.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.2.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.6.1 25-Mar-2014  yamt file nfs_nfsdkrpc.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.2.4.2 18-May-2014  rmind sync with head
 1.2.4.1 25-Mar-2014  rmind file nfs_nfsdkrpc.c was added on branch rmind-smpnet on 2014-05-18 17:46:06 +0000
 1.4.52.1 02-Aug-2025  perseant Sync with HEAD
 1.1 18-Nov-2016  pgoyette branches: 1.1.2; 1.1.4; 1.1.18;
Add the initial module(9) infrastructure
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 18-Nov-2016  jdolecek file nfs_nfsdmodule.c was added on branch tls-maxphys on 2017-12-03 11:38:42 +0000
 1.1.4.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.4.1 18-Nov-2016  pgoyette file nfs_nfsdmodule.c was added on branch pgoyette-localcount on 2017-01-07 08:56:48 +0000
 1.1.2.2 05-Dec-2016  skrll Sync with HEAD
 1.1.2.1 18-Nov-2016  skrll file nfs_nfsdmodule.c was added on branch nick-nhusb on 2016-12-05 10:55:26 +0000
 1.4 29-Mar-2021  simonb Don't use legacy VM types.
 1.3 03-Sep-2018  riastradh branches: 1.3.12; 1.3.14;
Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER! Some subsystems have

#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
 1.2 13-Dec-2016  pgoyette branches: 1.2.14; 1.2.16;
Update locations for new nfs header files.

XXX Some #includes are just disabled (via #if 0) and will need to be
XXX resolved before further progress can be made.
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_nfsdport.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_nfsdport.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_nfsdport.c was added on branch rmind-smpnet on 2014-05-18 17:46:06 +0000
 1.2.16.1 10-Jun-2019  christos Sync with HEAD
 1.2.14.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.3.14.1 03-Apr-2021  thorpej Sync with HEAD.
 1.3.12.1 03-Apr-2021  thorpej Sync with HEAD.
 1.6 05-Jul-2024  rin sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@
 1.5 05-Feb-2024  andvar branches: 1.5.2;
fix various typos in comments.
 1.4 13-Dec-2016  pgoyette Update locations for new nfs header files.

XXX Some #includes are just disabled (via #if 0) and will need to be
XXX resolved before further progress can be made.
 1.3 18-Nov-2016  pgoyette Resolve conflicts
 1.2 25-Mar-2014  christos branches: 1.2.4; 1.2.6; 1.2.10; 1.2.12; 1.2.16;
kill sprintf.
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.2.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.12.2 05-Feb-2017  skrll Sync with HEAD
 1.2.12.1 05-Dec-2016  skrll Sync with HEAD
 1.2.10.3 03-Dec-2017  jdolecek update from HEAD
 1.2.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.10.1 25-Mar-2014  tls file nfs_nfsdserv.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.2.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.6.1 25-Mar-2014  yamt file nfs_nfsdserv.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.2.4.2 18-May-2014  rmind sync with head
 1.2.4.1 25-Mar-2014  rmind file nfs_nfsdserv.c was added on branch rmind-smpnet on 2014-05-18 17:46:06 +0000
 1.5.2.1 02-Aug-2025  perseant Sync with HEAD
 1.2 13-Dec-2016  pgoyette Update locations for new nfs header files.

XXX Some #includes are just disabled (via #if 0) and will need to be
XXX resolved before further progress can be made.
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_nfsdsocket.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_nfsdsocket.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_nfsdsocket.c was added on branch rmind-smpnet on 2014-05-18 17:46:06 +0000
 1.6 05-Jul-2024  rin sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@
 1.5 28-May-2023  andvar branches: 1.5.6;
s/Resture/Restore/ and s/restared/restarted/ in comments.
 1.4 13-Dec-2016  pgoyette Update locations for new nfs header files.

XXX Some #includes are just disabled (via #if 0) and will need to be
XXX resolved before further progress can be made.
 1.3 18-Nov-2016  pgoyette Resolve conflicts
 1.2 27-Nov-2013  christos branches: 1.2.4; 1.2.6; 1.2.10; 1.2.12; 1.2.16;
Change the queue.3 *_END(&head) macros to NULL. Since we don't have CIRCLEQ
anymore, all the macros expand to NULL anyway, so this improves readability.
Requested by rmind@
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.2.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.12.2 05-Feb-2017  skrll Sync with HEAD
 1.2.12.1 05-Dec-2016  skrll Sync with HEAD
 1.2.10.3 03-Dec-2017  jdolecek update from HEAD
 1.2.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.10.1 27-Nov-2013  tls file nfs_nfsdstate.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.2.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.6.1 27-Nov-2013  yamt file nfs_nfsdstate.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.2.4.2 18-May-2014  rmind sync with head
 1.2.4.1 27-Nov-2013  rmind file nfs_nfsdstate.c was added on branch rmind-smpnet on 2014-05-18 17:46:06 +0000
 1.5.6.1 02-Aug-2025  perseant Sync with HEAD
 1.4 13-Dec-2016  pgoyette Update locations for new nfs header files.

XXX Some #includes are just disabled (via #if 0) and will need to be
XXX resolved before further progress can be made.
 1.3 18-Nov-2016  pgoyette Resolve conflicts
 1.2 18-Oct-2014  snj branches: 1.2.2; 1.2.4;
src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_nfsdsubs.c was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_nfsdsubs.c was added on branch yamt-pagecache on 2014-05-22 11:41:01 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_nfsdsubs.c was added on branch rmind-smpnet on 2014-05-18 17:46:06 +0000
 1.2.4.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.2.2 05-Feb-2017  skrll Sync with HEAD
 1.2.2.1 05-Dec-2016  skrll Sync with HEAD

RSS XML Feed