summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2003-11-15 05:03:15 +0000
committeralfred <alfred@FreeBSD.org>2003-11-15 05:03:15 +0000
commit490e2fe2e281dacaa2668d5efe4246a3ff8019c1 (patch)
treee282a3bb82109024a6ea6d2ce5889aabc3fcea4e /sys/nfsclient
parent24287012213d2623b0f197f66840f55c4cd8248c (diff)
downloadFreeBSD-src-490e2fe2e281dacaa2668d5efe4246a3ff8019c1.zip
FreeBSD-src-490e2fe2e281dacaa2668d5efe4246a3ff8019c1.tar.gz
Move the declaration for "struct nfs4_fctx" out from under #ifdef KERNEL
for fstat(1).
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs.h28
1 files changed, 14 insertions, 14 deletions
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);
OpenPOWER on IntegriCloud