summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2006-05-28 22:45:52 +0000
committerrodrigc <rodrigc@FreeBSD.org>2006-05-28 22:45:52 +0000
commit92e37b9fef59c4c925db5a36efd9dd2edcf55c79 (patch)
treee06af9200df50a4bc596f4dd05e1ab153bea40a2 /sys/fs
parent06831bc7bced38452a29750987858f784ca8f2e7 (diff)
downloadFreeBSD-src-92e37b9fef59c4c925db5a36efd9dd2edcf55c79.zip
FreeBSD-src-92e37b9fef59c4c925db5a36efd9dd2edcf55c79.tar.gz
Remove incorrect null_checkexp() routine. This
will allow the NFS server to call vfs_stdcheckexp() on the exported nullfs filesystem, not the underlying filesystem being nullfs mounted. If the lower filesystem was not NFS exported, then the NFS exported null filesystem would not work. Pointed out by: scottl PR: kern/87906 MFC after: 1 week
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/nullfs/null_vfsops.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
index c291fa8..505576b 100644
--- a/sys/fs/nullfs/null_vfsops.c
+++ b/sys/fs/nullfs/null_vfsops.c
@@ -56,7 +56,6 @@
static MALLOC_DEFINE(M_NULLFSMNT, "nullfs_mount", "NULLFS mount structure");
static vfs_fhtovp_t nullfs_fhtovp;
-static vfs_checkexp_t nullfs_checkexp;
static vfs_mount_t nullfs_mount;
static vfs_quotactl_t nullfs_quotactl;
static vfs_root_t nullfs_root;
@@ -341,18 +340,6 @@ nullfs_fhtovp(mp, fidp, vpp)
}
static int
-nullfs_checkexp(mp, nam, extflagsp, credanonp)
- struct mount *mp;
- struct sockaddr *nam;
- int *extflagsp;
- struct ucred **credanonp;
-{
-
- return VFS_CHECKEXP(MOUNTTONULLMOUNT(mp)->nullm_vfs, nam,
- extflagsp, credanonp);
-}
-
-static int
nullfs_vptofh(vp, fhp)
struct vnode *vp;
struct fid *fhp;
@@ -378,7 +365,6 @@ nullfs_extattrctl(mp, cmd, filename_vp, namespace, attrname, td)
static struct vfsops null_vfsops = {
- .vfs_checkexp = nullfs_checkexp,
.vfs_extattrctl = nullfs_extattrctl,
.vfs_fhtovp = nullfs_fhtovp,
.vfs_init = nullfs_init,
OpenPOWER on IntegriCloud