summaryrefslogtreecommitdiffstats
path: root/sys/fs/nullfs
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>1999-12-19 06:08:07 +0000
committerrwatson <rwatson@FreeBSD.org>1999-12-19 06:08:07 +0000
commit4b6baecfc724bac12be9de99924e828b1e68046e (patch)
treeccf64e27cf5f979dcaaf7e55bb2a486df8b3f567 /sys/fs/nullfs
parent114c517da1a1c0bab8d9fa884b67102ec0768fa1 (diff)
downloadFreeBSD-src-4b6baecfc724bac12be9de99924e828b1e68046e.zip
FreeBSD-src-4b6baecfc724bac12be9de99924e828b1e68046e.tar.gz
Second pass commit to introduce new ACL and Extended Attribute system
calls, vnops, vfsops, both in /kern, and to individual file systems that require a vfsop_ array entry. Reviewed by: eivind
Diffstat (limited to 'sys/fs/nullfs')
-rw-r--r--sys/fs/nullfs/null_vfsops.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
index 1bdc083..cbeadc3 100644
--- a/sys/fs/nullfs/null_vfsops.c
+++ b/sys/fs/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);
OpenPOWER on IntegriCloud