mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 13:23:36 +00:00
Move the declaration for "struct nfs4_fctx" out from under #ifdef KERNEL
for fstat(1).
This commit is contained in:
parent
143460168a
commit
42233ecdc1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122736
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue