diff options
author | pjd <pjd@FreeBSD.org> | 2007-04-17 21:14:06 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-04-17 21:14:06 +0000 |
commit | 4d856175c4226d86311a40254cd7b0b00f81a6fb (patch) | |
tree | 2a1978e8c6f8be01a9ff4abcbff42020856b6979 /sys/kern/vfs_mount.c | |
parent | ed9ca08793c6e93d24f5106ab2102b83217657e6 (diff) | |
download | FreeBSD-src-4d856175c4226d86311a40254cd7b0b00f81a6fb.zip FreeBSD-src-4d856175c4226d86311a40254cd7b0b00f81a6fb.tar.gz |
Export vfs_mount_alloc() as it is used in ZFS.
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r-- | sys/kern/vfs_mount.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 16b6c25..40fd361 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -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) { |