diff options
Diffstat (limited to 'src/sys/include')
-rw-r--r-- | src/sys/include/sys/mount.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sys/include/sys/mount.h b/src/sys/include/sys/mount.h index c2beb8d..0296b70 100644 --- a/src/sys/include/sys/mount.h +++ b/src/sys/include/sys/mount.h @@ -133,5 +133,16 @@ int mount(struct mount_args *margs, uint32_t flags); */ int mountlist_init(struct mountlist *mlp); +/* + * Allocate a new mountpoint + * + * @name: The name to allocate mountpoint as + * @mp_res: Result pointer is written here + * + * Returns zero on success, otherwise a less than + * zero value to indicate failure. + */ +int mount_alloc(const char *name, struct mount **mp_res); + #endif /* !_KERNEL */ #endif /* !_SYS_MOUNT_H_ */ |