diff options
author | dfr <dfr@FreeBSD.org> | 2009-06-30 19:03:27 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2009-06-30 19:03:27 +0000 |
commit | 5d248bb05f33623d905b8b5a72d90e459d23be96 (patch) | |
tree | b34567acfe860cb1978c433954c8376efa8a9fbb /sys/nfsserver/nfs_srvkrpc.c | |
parent | 92b2f1511851bf5a137742d90131b79d0ff4c1ff (diff) | |
download | FreeBSD-src-5d248bb05f33623d905b8b5a72d90e459d23be96.zip FreeBSD-src-5d248bb05f33623d905b8b5a72d90e459d23be96.tar.gz |
Remove the old kernel RPC implementation and the NFS_LEGACYRPC option.
Approved by: re
Diffstat (limited to 'sys/nfsserver/nfs_srvkrpc.c')
-rw-r--r-- | sys/nfsserver/nfs_srvkrpc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/nfsserver/nfs_srvkrpc.c b/sys/nfsserver/nfs_srvkrpc.c index 99edac5..54b1c4a 100644 --- a/sys/nfsserver/nfs_srvkrpc.c +++ b/sys/nfsserver/nfs_srvkrpc.c @@ -75,7 +75,6 @@ __FBSDID("$FreeBSD$"); #include <rpc/replay.h> #include <nfs/xdr_subs.h> -#include <nfs/rpcv2.h> #include <nfs/nfsproto.h> #include <nfsserver/nfs.h> #include <nfsserver/nfsm_subs.h> @@ -84,8 +83,6 @@ __FBSDID("$FreeBSD$"); #include <security/mac/mac_framework.h> -#ifndef NFS_LEGACYRPC - static MALLOC_DEFINE(M_NFSSVC, "nfss_srvsock", "Nfs server structure"); MALLOC_DEFINE(M_NFSRVDESC, "nfss_srvdesc", "NFS server socket descriptor"); @@ -607,5 +604,3 @@ nfsrv_init(int terminating) NFSD_LOCK(); } - -#endif /* !NFS_LEGACYRPC */ |