From 490e2fe2e281dacaa2668d5efe4246a3ff8019c1 Mon Sep 17 00:00:00 2001 From: alfred Date: Sat, 15 Nov 2003 05:03:15 +0000 Subject: Move the declaration for "struct nfs4_fctx" out from under #ifdef KERNEL for fstat(1). --- sys/nfsclient/nfs.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'sys/nfsclient') diff --git a/sys/nfsclient/nfs.h b/sys/nfsclient/nfs.h index f09fd65..c96112a 100644 --- a/sys/nfsclient/nfs.h +++ b/sys/nfsclient/nfs.h @@ -113,6 +113,20 @@ */ #define NFS_NFSSTATS 1 /* struct: struct nfsstats */ +/* + * File context information for nfsv4. Currently, there is only one + * lockowner for the whole machine "0." + */ +struct nfs4_fctx { + TAILQ_ENTRY(nfs4_fstate) next; + + pid_t pid; + uint32_t refcnt; + struct nfs4_lowner *lop; + struct nfsnode *np; + char stateid[NFSX_V4STATEID]; +}; + #ifdef _KERNEL #ifdef MALLOC_DECLARE @@ -242,20 +256,6 @@ extern int nfs_debug; #endif -/* - * File context information for nfsv4. Currently, there is only one - * lockowner for the whole machine "0." - */ -struct nfs4_fctx { - TAILQ_ENTRY(nfs4_fstate) next; - - pid_t pid; - uint32_t refcnt; - struct nfs4_lowner *lop; - struct nfsnode *np; - char stateid[NFSX_V4STATEID]; -}; - vfs_init_t nfs_init; vfs_uninit_t nfs_uninit; int nfs_mountroot(struct mount *mp, struct thread *td); -- cgit v1.1