summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys/systm.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/sys/systm.h')
-rw-r--r--freebsd/sys/sys/systm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/freebsd/sys/sys/systm.h b/freebsd/sys/sys/systm.h
index a52cde01..aae31704 100644
--- a/freebsd/sys/sys/systm.h
+++ b/freebsd/sys/sys/systm.h
@@ -634,9 +634,14 @@ int poll_no_poll(int events);
void DELAY(int usec);
/* Root mount holdback API */
-struct root_hold_token;
+struct root_hold_token {
+ int flags;
+ const char *who;
+ TAILQ_ENTRY(root_hold_token) list;
+};
struct root_hold_token *root_mount_hold(const char *identifier);
+void root_mount_hold_token(const char *identifier, struct root_hold_token *h);
void root_mount_rel(struct root_hold_token *h);
int root_mounted(void);