aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mount.h
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2000-12-04 09:21:05 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2000-12-04 09:21:05 +0000
commit7a8671e9b77c80c7d77a2309905bc24ac227f717 (patch)
tree35ab5a1f29c7a5eabd8ab6f0442664bb31cc99f1 /sys/sys/mount.h
parent687a7e07cf6c519334570e7c1159df967c3bbe95 (diff)
downloadsrc-7a8671e9b77c80c7d77a2309905bc24ac227f717.tar.gz
src-7a8671e9b77c80c7d77a2309905bc24ac227f717.zip
remove struct mount from useland visibility
Notes
Notes: svn path=/head/; revision=69564
Diffstat (limited to 'sys/sys/mount.h')
-rw-r--r--sys/sys/mount.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index c7879521cc4e..77ee4e521542 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -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.