Date: Tue, 5 Apr 2022 17:58:47 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 393b7606f9c1 - main - Unbreak the build: Also define NFSV42_OLDNPROCS here. Message-ID: <202204051758.235Hwl3b090277@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=393b7606f9c18c27f340edb28395093b618f68bd commit 393b7606f9c18c27f340edb28395093b618f68bd Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-04-05 17:54:20 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-04-05 17:54:20 +0000 Unbreak the build: Also define NFSV42_OLDNPROCS here. If nfsproto.h is included before nfsport.h, then NFSV42_OLDNPROCS would be undefined when it is used in struct nfsstatsov1. Sponsored by: Netflix --- sys/fs/nfs/nfsproto.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/fs/nfs/nfsproto.h b/sys/fs/nfs/nfsproto.h index 2e21a70b5d86..ceecc63a7732 100644 --- a/sys/fs/nfs/nfsproto.h +++ b/sys/fs/nfs/nfsproto.h @@ -413,6 +413,9 @@ */ #define NFSV42_NPROCS 70 +/* Value of NFSV42_NPROCS for old nfsstats structure. (Always 69) */ +#define NFSV42_OLDNPROCS 69 + #endif /* NFS_V3NPROCS */ /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204051758.235Hwl3b090277>