diff options
author | Robert Watson <rwatson@FreeBSD.org> | 1999-12-19 06:08:07 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 1999-12-19 06:08:07 +0000 |
commit | 91f37dcba1648b1f24e2913c3ab78fc4eae35991 (patch) | |
tree | 433e8c666e5e40e6718b75b8dea03e89c87cf17b /sys/miscfs | |
parent | ef351daa32c4ddea1b65bdda2844b932e6c2eb2b (diff) | |
download | src-test2-91f37dcba1648b1f24e2913c3ab78fc4eae35991.tar.gz src-test2-91f37dcba1648b1f24e2913c3ab78fc4eae35991.zip |
Notes
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/devfs/devfs_vfsops.c | 4 | ||||
-rw-r--r-- | sys/miscfs/fdesc/fdesc_vfsops.c | 2 | ||||
-rw-r--r-- | sys/miscfs/kernfs/kernfs_vfsops.c | 2 | ||||
-rw-r--r-- | sys/miscfs/nullfs/null_vfsops.c | 15 | ||||
-rw-r--r-- | sys/miscfs/portal/portal_vfsops.c | 2 | ||||
-rw-r--r-- | sys/miscfs/procfs/procfs_vfsops.c | 2 | ||||
-rw-r--r-- | sys/miscfs/umapfs/umap_vfsops.c | 18 | ||||
-rw-r--r-- | sys/miscfs/union/union_vfsops.c | 2 |
8 files changed, 46 insertions, 1 deletions
diff --git a/sys/miscfs/devfs/devfs_vfsops.c b/sys/miscfs/devfs/devfs_vfsops.c index 73f7d70b89f3..f440a83244e9 100644 --- a/sys/miscfs/devfs/devfs_vfsops.c +++ b/sys/miscfs/devfs/devfs_vfsops.c @@ -305,7 +305,9 @@ static struct vfsops devfs_vfsops = { vfs_stdfhtovp, vfs_stdcheckexp, vfs_stdvptofh, - devfs_init + devfs_init, + vfs_stduninit, + vfs_stdextattrctl, }; VFS_SET(devfs_vfsops, devfs, 0); diff --git a/sys/miscfs/fdesc/fdesc_vfsops.c b/sys/miscfs/fdesc/fdesc_vfsops.c index a451c18ae396..0105ff7f8c75 100644 --- a/sys/miscfs/fdesc/fdesc_vfsops.c +++ b/sys/miscfs/fdesc/fdesc_vfsops.c @@ -227,6 +227,8 @@ static struct vfsops fdesc_vfsops = { vfs_stdcheckexp, vfs_stdvptofh, fdesc_init, + vfs_stduninit, + vfs_stdextattrctl, }; VFS_SET(fdesc_vfsops, fdesc, VFCF_SYNTHETIC); diff --git a/sys/miscfs/kernfs/kernfs_vfsops.c b/sys/miscfs/kernfs/kernfs_vfsops.c index a08e9d4d6884..e55c540ad546 100644 --- a/sys/miscfs/kernfs/kernfs_vfsops.c +++ b/sys/miscfs/kernfs/kernfs_vfsops.c @@ -255,6 +255,8 @@ static struct vfsops kernfs_vfsops = { vfs_stdcheckexp, vfs_stdvptofh, vfs_stdinit, + vfs_stduninit, + vfs_stdextattrctl, }; VFS_SET(kernfs_vfsops, kernfs, VFCF_SYNTHETIC); 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); diff --git a/sys/miscfs/portal/portal_vfsops.c b/sys/miscfs/portal/portal_vfsops.c index d750b5395146..950d3838aef3 100644 --- a/sys/miscfs/portal/portal_vfsops.c +++ b/sys/miscfs/portal/portal_vfsops.c @@ -256,6 +256,8 @@ static struct vfsops portal_vfsops = { vfs_stdcheckexp, vfs_stdvptofh, vfs_stdinit, + vfs_stduninit, + vfs_stdextattrctl, }; VFS_SET(portal_vfsops, portal, VFCF_SYNTHETIC); diff --git a/sys/miscfs/procfs/procfs_vfsops.c b/sys/miscfs/procfs/procfs_vfsops.c index 05337644ad8f..b1d4d4332540 100644 --- a/sys/miscfs/procfs/procfs_vfsops.c +++ b/sys/miscfs/procfs/procfs_vfsops.c @@ -172,6 +172,8 @@ static struct vfsops procfs_vfsops = { vfs_stdcheckexp, vfs_stdvptofh, vfs_stdinit, + vfs_stduninit, + vfs_stdextattrctl, }; VFS_SET(procfs_vfsops, procfs, VFCF_SYNTHETIC); diff --git a/sys/miscfs/umapfs/umap_vfsops.c b/sys/miscfs/umapfs/umap_vfsops.c index 48894fe82162..6e0c0b6b275a 100644 --- a/sys/miscfs/umapfs/umap_vfsops.c +++ b/sys/miscfs/umapfs/umap_vfsops.c @@ -75,6 +75,9 @@ static int umapfs_unmount __P((struct mount *mp, int mntflags, static int umapfs_vget __P((struct mount *mp, ino_t ino, struct vnode **vpp)); static int umapfs_vptofh __P((struct vnode *vp, struct fid *fhp)); +static int umapfs_extattrctl __P((struct mount *mp, int cmd, + char *attrname, caddr_t arg, + struct proc *p)); /* * Mount umap layer @@ -430,6 +433,19 @@ umapfs_vptofh(vp, fhp) return (VFS_VPTOFH(UMAPVPTOLOWERVP(vp), fhp)); } +static int +umapfs_extattrctl(mp, cmd, attrname, arg, p) + struct mount *mp; + int cmd; + char *attrname; + caddr_t arg; + struct proc *p; +{ + return (VFS_EXTATTRCTL(MOUNTTOUMAPMOUNT(mp)->umapm_vfs, cmd, attrname, + arg, p)); +} + + static struct vfsops umap_vfsops = { umapfs_mount, umapfs_start, @@ -443,6 +459,8 @@ static struct vfsops umap_vfsops = { umapfs_checkexp, umapfs_vptofh, umapfs_init, + vfs_stduninit, + umapfs_extattrctl, }; VFS_SET(umap_vfsops, umap, VFCF_LOOPBACK); diff --git a/sys/miscfs/union/union_vfsops.c b/sys/miscfs/union/union_vfsops.c index f5782fa72894..8b58e55b17ca 100644 --- a/sys/miscfs/union/union_vfsops.c +++ b/sys/miscfs/union/union_vfsops.c @@ -502,6 +502,8 @@ static struct vfsops union_vfsops = { vfs_stdcheckexp, vfs_stdvptofh, union_init, + vfs_stduninit, + vfs_stdextattrctl, }; VFS_SET(union_vfsops, union, VFCF_LOOPBACK); |