git: aa41036eb7a3 - main - nfsserver: purge EOL release compatibility
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Feb 2023 16:20:09 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=aa41036eb7a3352415883f9bdb972feba01efb71 commit aa41036eb7a3352415883f9bdb972feba01efb71 Author: Elliott Mitchell <ehem+freebsd@m5p.com> AuthorDate: 2022-06-23 00:53:47 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-02-04 16:10:30 +0000 nfsserver: purge EOL release compatibility Remove now-obsolete FreeBSD 4.x and earlier ifdef. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/603 Differential Revision: https://reviews.freebsd.org/D35560 --- sys/fs/nfsserver/nfs_nfsdstate.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/fs/nfsserver/nfs_nfsdstate.c b/sys/fs/nfsserver/nfs_nfsdstate.c index 7430f1f200b3..d410a808d06d 100644 --- a/sys/fs/nfsserver/nfs_nfsdstate.c +++ b/sys/fs/nfsserver/nfs_nfsdstate.c @@ -5010,9 +5010,7 @@ nfsrv_updatestable(NFSPROC_T *p) int i; struct nfsvattr nva; vnode_t vp; -#if defined(__FreeBSD_version) && (__FreeBSD_version >= 500000) mount_t mp = NULL; -#endif int error; if (sf->nsf_fp == NULL || (sf->nsf_flags & NFSNSF_UPDATEDONE))