From ee5033e8f0192f4ec52128873d46c3fad63d326b Mon Sep 17 00:00:00 2001 From: rmacklem Date: Thu, 6 Jan 2011 19:50:11 +0000 Subject: Since the VFS_LOCK_GIANT() code in the experimental NFS server is broken and the major file systems are now all mpsafe, modify the server so that it will only export mpsafe file systems. This was discussed on freebsd-fs@ and removes a fair bit of crufty code. MFC after: 12 days --- sys/fs/nfs/nfs_var.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/fs/nfs/nfs_var.h') diff --git a/sys/fs/nfs/nfs_var.h b/sys/fs/nfs/nfs_var.h index 782630b..2dbbdda 100644 --- a/sys/fs/nfs/nfs_var.h +++ b/sys/fs/nfs/nfs_var.h @@ -570,8 +570,6 @@ int nfsvno_pathconf(vnode_t, int, register_t *, struct ucred *, NFSPROC_T *); vnode_t nfsvno_getvp(fhandle_t *); int nfsvno_advlock(vnode_t, int, u_int64_t, u_int64_t, NFSPROC_T *); -void nfsvno_unlockvfs(mount_t); -int nfsvno_lockvfs(mount_t); int nfsrv_v4rootexport(void *, struct ucred *, NFSPROC_T *); int nfsvno_testexp(struct nfsrv_descript *, struct nfsexstuff *); uint32_t nfsrv_hashfh(fhandle_t *); -- cgit v1.1