mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Export vfs_mount_alloc() as it is used in ZFS.
This commit is contained in:
parent
88a5255bc4
commit
7760d8409f
2 changed files with 3 additions and 3 deletions
|
|
@ -80,8 +80,6 @@ __FBSDID("$FreeBSD$");
|
|||
|
||||
static int vfs_domount(struct thread *td, const char *fstype,
|
||||
char *fspath, int fsflags, void *fsdata);
|
||||
static struct mount *vfs_mount_alloc(struct vnode *dvp, struct vfsconf *vfsp,
|
||||
const char *fspath, struct thread *td);
|
||||
static int vfs_mountroot_ask(void);
|
||||
static int vfs_mountroot_try(const char *mountfrom);
|
||||
static int vfs_donmount(struct thread *td, int fsflags,
|
||||
|
|
@ -465,7 +463,7 @@ mount_fini(void *mem, int size)
|
|||
/*
|
||||
* Allocate and initialize the mount point struct.
|
||||
*/
|
||||
static struct mount *
|
||||
struct mount *
|
||||
vfs_mount_alloc(struct vnode *vp, struct vfsconf *vfsp,
|
||||
const char *fspath, struct thread *td)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -682,6 +682,8 @@ void vfs_mountroot(void); /* mount our root filesystem */
|
|||
void vfs_mountedfrom(struct mount *, const char *from);
|
||||
void vfs_ref(struct mount *);
|
||||
void vfs_rel(struct mount *);
|
||||
struct mount *vfs_mount_alloc(struct vnode *, struct vfsconf *, const char *,
|
||||
struct thread *);
|
||||
int vfs_suser(struct mount *, struct thread *);
|
||||
void vfs_unbusy(struct mount *, struct thread *);
|
||||
void vfs_unmountall(void);
|
||||
|
|
|
|||
Loading…
Reference in a new issue