diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2006-05-26 01:21:51 +0000 |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2006-05-26 01:21:51 +0000 |
commit | 23badd1016fc1c4e695699b56ce80a20b9c1e6e5 (patch) | |
tree | 511a5f4be9c1dbec67d8eb307263fcfb83d6285e /sys | |
parent | 5eb304a91af1065e4a8e4d334e3c5431d4e48f00 (diff) | |
download | src-23badd1016fc1c4e695699b56ce80a20b9c1e6e5.tar.gz src-23badd1016fc1c4e695699b56ce80a20b9c1e6e5.zip |
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.
Notes
Notes:
svn path=/head/; revision=158927
Diffstat (limited to 'sys')
-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 */ |