diff options
Diffstat (limited to 'sys/fs/udf/udf_vfsops.c')
-rw-r--r-- | sys/fs/udf/udf_vfsops.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/fs/udf/udf_vfsops.c b/sys/fs/udf/udf_vfsops.c index da3de9861c85..e2623f732611 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 */ |