summaryrefslogtreecommitdiff
path: root/sys/miscfs/nullfs/null_vfsops.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>1999-12-19 06:08:07 +0000
committerRobert Watson <rwatson@FreeBSD.org>1999-12-19 06:08:07 +0000
commit91f37dcba1648b1f24e2913c3ab78fc4eae35991 (patch)
tree433e8c666e5e40e6718b75b8dea03e89c87cf17b /sys/miscfs/nullfs/null_vfsops.c
parentef351daa32c4ddea1b65bdda2844b932e6c2eb2b (diff)
Notes
Diffstat (limited to 'sys/miscfs/nullfs/null_vfsops.c')
-rw-r--r--sys/miscfs/nullfs/null_vfsops.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/miscfs/nullfs/null_vfsops.c b/sys/miscfs/nullfs/null_vfsops.c
index 1bdc083f7a26..cbeadc3c03e0 100644
--- a/sys/miscfs/nullfs/null_vfsops.c
+++ b/sys/miscfs/nullfs/null_vfsops.c
@@ -417,6 +417,19 @@ nullfs_vptofh(vp, fhp)
return VFS_VPTOFH(NULLVPTOLOWERVP(vp), fhp);
}
+static int
+nullfs_extattrctl(mp, cmd, attrname, arg, p)
+ struct mount *mp;
+ int cmd;
+ char *attrname;
+ caddr_t arg;
+ struct proc *p;
+{
+ return VFS_EXTATTRCTL(MOUNTTONULLMOUNT(mp)->nullm_vfs, cmd, attrname,
+ arg, p);
+}
+
+
static struct vfsops null_vfsops = {
nullfs_mount,
nullfs_start,
@@ -430,6 +443,8 @@ static struct vfsops null_vfsops = {
nullfs_checkexp,
nullfs_vptofh,
nullfs_init,
+ vfs_stduninit,
+ nullfs_extattrctl,
};
VFS_SET(null_vfsops, null, VFCF_LOOPBACK);