aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/sys/mount.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index 5c4bb87a34d1..f63361c14306 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -143,13 +143,14 @@ struct vfsopt;
*
*/
struct mount {
+ struct lock mnt_lock; /* mount structure lock */
+ struct mtx mnt_mtx; /* mount structure interlock */
+#define mnt_startzero mnt_list
TAILQ_ENTRY(mount) mnt_list; /* (m) mount list */
struct vfsops *mnt_op; /* operations on fs */
struct vfsconf *mnt_vfc; /* configuration info */
struct vnode *mnt_vnodecovered; /* vnode we mounted on */
struct vnode *mnt_syncer; /* syncer vnode */
- struct lock mnt_lock; /* mount structure lock */
- struct mtx mnt_mtx; /* mount structure interlock */
int mnt_ref; /* (i) Reference count */
struct vnodelst mnt_nvnodelist; /* (i) list of vnodes */
int mnt_nvnodelistsize; /* (i) # of vnodes */
@@ -172,6 +173,7 @@ struct mount {
int mnt_holdcnt; /* hold count */
int mnt_holdcntwaiters; /* waits on hold count */
int mnt_secondary_writes; /* (i) # of secondary writes */
+#define mnt_endzero mnt_secondary_accwrites
int mnt_secondary_accwrites;/* (i) secondary wr. starts */
};