mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-06 13:09:50 +00:00
remove struct mount from useland visibility
This commit is contained in:
parent
687a7e07cf
commit
7a8671e9b7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69564
@ -39,7 +39,9 @@
|
||||
|
||||
#include <sys/ucred.h>
|
||||
#include <sys/queue.h>
|
||||
#ifdef _KERNEL
|
||||
#include <sys/lock.h>
|
||||
#endif
|
||||
|
||||
typedef struct fsid { int32_t val[2]; } fsid_t; /* file system id type */
|
||||
|
||||
@ -92,6 +94,7 @@ struct statfs {
|
||||
long f_spare[2]; /* unused spare */
|
||||
};
|
||||
|
||||
#ifdef _KERNEL
|
||||
/*
|
||||
* Structure per mounted file system. Each mounted file system has an
|
||||
* array of operations and an instance record. The file systems are
|
||||
@ -116,6 +119,7 @@ struct mount {
|
||||
time_t mnt_time; /* last time written*/
|
||||
u_int mnt_iosize_max; /* max IO request size */
|
||||
};
|
||||
#endif /* _KERNEL */
|
||||
|
||||
/*
|
||||
* User specifiable flags.
|
||||
|
@ -66,8 +66,8 @@ static const char rcsid[] =
|
||||
#include <sys/file.h>
|
||||
#include <ufs/ufs/quota.h>
|
||||
#include <ufs/ufs/inode.h>
|
||||
#undef _KERNEL
|
||||
#include <sys/mount.h>
|
||||
#undef _KERNEL
|
||||
#include <nfs/nfsproto.h>
|
||||
#include <nfs/rpcv2.h>
|
||||
#include <nfs/nfs.h>
|
||||
|
Loading…
Reference in New Issue
Block a user