summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2006-05-26 01:21:51 +0000
committerrodrigc <rodrigc@FreeBSD.org>2006-05-26 01:21:51 +0000
commit52bbc2b4abe348f0ec2bd6cea7534d8417ffa51f (patch)
tree511a5f4be9c1dbec67d8eb307263fcfb83d6285e /sys/fs
parent055e2abe682260c3bd89cb00f5394de7b740ef8f (diff)
downloadFreeBSD-src-52bbc2b4abe348f0ec2bd6cea7534d8417ffa51f.zip
FreeBSD-src-52bbc2b4abe348f0ec2bd6cea7534d8417ffa51f.tar.gz
Remove calls to vfs_export() for exporting a filesystem for NFS mounting
from individual filesystems. Call it instead in vfs_mount.c, after we call VFS_MOUNT() for a specific filesystem.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/udf/udf_vfsops.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/fs/udf/udf_vfsops.c b/sys/fs/udf/udf_vfsops.c
index da3de98..e2623f7 100644
--- a/sys/fs/udf/udf_vfsops.c
+++ b/sys/fs/udf/udf_vfsops.c
@@ -191,7 +191,6 @@ udf_mount(struct mount *mp, struct thread *td)
{
struct vnode *devvp; /* vnode of the mount device */
struct udf_mnt *imp = 0;
- struct export_args *export;
struct vfsoptlist *opts;
char *fspec, *cs_disk, *cs_local;
int error, len, *udf_flags;
@@ -217,13 +216,7 @@ udf_mount(struct mount *mp, struct thread *td)
return (EINVAL);
if (mp->mnt_flag & MNT_UPDATE) {
- if (fspec == NULL) {
- error = vfs_getopt(opts, "export", (void **)&export,
- &len);
- if (error || len != sizeof(struct export_args))
- return (EINVAL);
- return (vfs_export(mp, export));
- }
+ return (0);
}
/* Check that the mount device exists */
OpenPOWER on IntegriCloud