summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-11-25 09:11:27 +0000
committerphk <phk@FreeBSD.org>2004-11-25 09:11:27 +0000
commit5525bf46398c6eea71b4e89be1564af0c4d8131b (patch)
treefae62617c82147076e9ec34ec7d51a8e64fbf8c5 /sys/fs
parent5366ae5ee5c5dddedcec03932efcd10a94183236 (diff)
downloadFreeBSD-src-5525bf46398c6eea71b4e89be1564af0c4d8131b.zip
FreeBSD-src-5525bf46398c6eea71b4e89be1564af0c4d8131b.tar.gz
Use system wide no-op vfs_start function.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/nullfs/null_vfsops.c17
-rw-r--r--sys/fs/nwfs/nwfs_vfsops.c16
-rw-r--r--sys/fs/smbfs/smbfs_vfsops.c16
-rw-r--r--sys/fs/umapfs/umap_vfsops.c18
4 files changed, 0 insertions, 67 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
index d834d04..1f49a7a 100644
--- a/sys/fs/nullfs/null_vfsops.c
+++ b/sys/fs/nullfs/null_vfsops.c
@@ -60,7 +60,6 @@ static vfs_checkexp_t nullfs_checkexp;
static vfs_mount_t nullfs_mount;
static vfs_quotactl_t nullfs_quotactl;
static vfs_root_t nullfs_root;
-static vfs_start_t nullfs_start;
static vfs_sync_t nullfs_sync;
static vfs_statfs_t nullfs_statfs;
static vfs_unmount_t nullfs_unmount;
@@ -195,21 +194,6 @@ nullfs_mount(struct mount *mp, struct thread *td)
}
/*
- * VFS start. Nothing needed here - the start routine
- * on the underlying filesystem will have been called
- * when that filesystem was mounted.
- */
-static int
-nullfs_start(mp, flags, td)
- struct mount *mp;
- int flags;
- struct thread *td;
-{
- return (0);
- /* return VFS_START(MOUNTTONULLMOUNT(mp)->nullm_vfs, flags, td); */
-}
-
-/*
* Free reference to null layer
*/
static int
@@ -406,7 +390,6 @@ static struct vfsops null_vfsops = {
.vfs_mount = nullfs_mount,
.vfs_quotactl = nullfs_quotactl,
.vfs_root = nullfs_root,
- .vfs_start = nullfs_start,
.vfs_statfs = nullfs_statfs,
.vfs_sync = nullfs_sync,
.vfs_uninit = nullfs_uninit,
diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c
index 5d807ab..2baf183 100644
--- a/sys/fs/nwfs/nwfs_vfsops.c
+++ b/sys/fs/nwfs/nwfs_vfsops.c
@@ -73,7 +73,6 @@ MODULE_DEPEND(nwfs, libmchain, 1, 1, 1);
static vfs_omount_t nwfs_omount;
static vfs_quotactl_t nwfs_quotactl;
static vfs_root_t nwfs_root;
-static vfs_start_t nwfs_start;
static vfs_statfs_t nwfs_statfs;
static vfs_unmount_t nwfs_unmount;
static vfs_init_t nwfs_init;
@@ -84,7 +83,6 @@ static struct vfsops nwfs_vfsops = {
.vfs_omount = nwfs_omount,
.vfs_quotactl = nwfs_quotactl,
.vfs_root = nwfs_root,
- .vfs_start = nwfs_start,
.vfs_statfs = nwfs_statfs,
.vfs_sync = vfs_stdsync,
.vfs_uninit = nwfs_uninit,
@@ -351,20 +349,6 @@ nwfs_root(struct mount *mp, struct vnode **vpp, struct thread *td) {
}
/*
- * Vfs start routine, a no-op.
- */
-/* ARGSUSED */
-static int
-nwfs_start(mp, flags, td)
- struct mount *mp;
- int flags;
- struct thread *td;
-{
- NCPVODEBUG("flags=%04x\n",flags);
- return (0);
-}
-
-/*
* Do operations associated with quotas, not supported
*/
/* ARGSUSED */
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c
index e841f91..48e4820 100644
--- a/sys/fs/smbfs/smbfs_vfsops.c
+++ b/sys/fs/smbfs/smbfs_vfsops.c
@@ -79,7 +79,6 @@ static MALLOC_DEFINE(M_SMBFSHASH, "SMBFS hash", "SMBFS hash table");
static vfs_init_t smbfs_init;
static vfs_uninit_t smbfs_uninit;
static vfs_omount_t smbfs_omount;
-static vfs_start_t smbfs_start;
static vfs_root_t smbfs_root;
static vfs_quotactl_t smbfs_quotactl;
static vfs_statfs_t smbfs_statfs;
@@ -90,7 +89,6 @@ static struct vfsops smbfs_vfsops = {
.vfs_omount = smbfs_omount,
.vfs_quotactl = smbfs_quotactl,
.vfs_root = smbfs_root,
- .vfs_start = smbfs_start,
.vfs_statfs = smbfs_statfs,
.vfs_sync = vfs_stdsync,
.vfs_uninit = smbfs_uninit,
@@ -294,20 +292,6 @@ smbfs_root(struct mount *mp, struct vnode **vpp, struct thread *td)
}
/*
- * Vfs start routine, a no-op.
- */
-/* ARGSUSED */
-static int
-smbfs_start(mp, flags, td)
- struct mount *mp;
- int flags;
- struct thread *td;
-{
- SMBVDEBUG("flags=%04x\n", flags);
- return 0;
-}
-
-/*
* Do operations associated with quotas, not supported
*/
/* ARGSUSED */
diff --git a/sys/fs/umapfs/umap_vfsops.c b/sys/fs/umapfs/umap_vfsops.c
index 1417429..2f9f253 100644
--- a/sys/fs/umapfs/umap_vfsops.c
+++ b/sys/fs/umapfs/umap_vfsops.c
@@ -54,7 +54,6 @@
static MALLOC_DEFINE(M_UMAPFSMNT, "UMAP mount", "UMAP mount structure");
static vfs_omount_t umapfs_omount;
-static vfs_start_t umapfs_start;
static vfs_root_t umapfs_root;
static vfs_quotactl_t umapfs_quotactl;
static vfs_statfs_t umapfs_statfs;
@@ -234,22 +233,6 @@ umapfs_omount(mp, path, data, ndp, td)
}
/*
- * VFS start. Nothing needed here - the start routine
- * on the underlying filesystem will have been called
- * when that filesystem was mounted.
- */
-static int
-umapfs_start(mp, flags, td)
- struct mount *mp;
- int flags;
- struct thread *td;
-{
-
- return (0);
- /* return (VFS_START(MOUNTTOUMAPMOUNT(mp)->umapm_vfs, flags, td)); */
-}
-
-/*
* Free reference to umap layer
*/
static int
@@ -433,7 +416,6 @@ static struct vfsops umap_vfsops = {
.vfs_omount = umapfs_omount,
.vfs_quotactl = umapfs_quotactl,
.vfs_root = umapfs_root,
- .vfs_start = umapfs_start,
.vfs_statfs = umapfs_statfs,
.vfs_unmount = umapfs_unmount,
.vfs_vget = umapfs_vget,
OpenPOWER on IntegriCloud