diff options
author | phk <phk@FreeBSD.org> | 2001-04-25 07:07:52 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-04-25 07:07:52 +0000 |
commit | cdc83afc7f1e444c4646840f48592b7ff524fbea (patch) | |
tree | 1d205c2b7e9b1a72323178bdb64ac082cbe816a5 /sys/ufs/mfs | |
parent | 3a77c500a93ed027c8d6959da8f6ecc3c7752441 (diff) | |
download | FreeBSD-src-cdc83afc7f1e444c4646840f48592b7ff524fbea.zip FreeBSD-src-cdc83afc7f1e444c4646840f48592b7ff524fbea.tar.gz |
Move the netexport structure from the fs-specific mountstructure
to struct mount.
This makes the "struct netexport *" paramter to the vfs_export
and vfs_checkexport interface unneeded.
Consequently that all non-stacking filesystems can use
vfs_stdcheckexp().
At the same time, make it a pointer to a struct netexport
in struct mount, so that we can remove the bogus AF_MAX
and #include <net/radix.h> from <sys/mount.h>
Diffstat (limited to 'sys/ufs/mfs')
-rw-r--r-- | sys/ufs/mfs/mfs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/mfs/mfs_vfsops.c b/sys/ufs/mfs/mfs_vfsops.c index 2f56b1a..4ac0002 100644 --- a/sys/ufs/mfs/mfs_vfsops.c +++ b/sys/ufs/mfs/mfs_vfsops.c @@ -109,7 +109,7 @@ static struct vfsops mfs_vfsops = { ffs_sync, ffs_vget, ffs_fhtovp, - ufs_check_export, + vfs_stdcheckexp, ffs_vptofh, mfs_init, vfs_stduninit, @@ -230,7 +230,7 @@ mfs_mount(mp, path, data, ndp, p) * Process export requests. Jumping to "success" * will return the vfs_export() error code. */ - err = vfs_export(mp, &ump->um_export, &args.export); + err = vfs_export(mp, &args.export); goto success; } |