diff options
author | phk <phk@FreeBSD.org> | 2004-11-25 09:11:27 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-11-25 09:11:27 +0000 |
commit | 5525bf46398c6eea71b4e89be1564af0c4d8131b (patch) | |
tree | fae62617c82147076e9ec34ec7d51a8e64fbf8c5 | |
parent | 5366ae5ee5c5dddedcec03932efcd10a94183236 (diff) | |
download | FreeBSD-src-5525bf46398c6eea71b4e89be1564af0c4d8131b.zip FreeBSD-src-5525bf46398c6eea71b4e89be1564af0c4d8131b.tar.gz |
Use system wide no-op vfs_start function.
-rw-r--r-- | sys/fs/nullfs/null_vfsops.c | 17 | ||||
-rw-r--r-- | sys/fs/nwfs/nwfs_vfsops.c | 16 | ||||
-rw-r--r-- | sys/fs/smbfs/smbfs_vfsops.c | 16 | ||||
-rw-r--r-- | sys/fs/umapfs/umap_vfsops.c | 18 | ||||
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 1 | ||||
-rw-r--r-- | sys/ufs/ufs/ufs_extern.h | 1 | ||||
-rw-r--r-- | sys/ufs/ufs/ufs_vfsops.c | 14 |
7 files changed, 0 insertions, 83 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, diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 9d7a605..fc97618 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -90,7 +90,6 @@ static struct vfsops ufs_vfsops = { .vfs_omount = ffs_omount, .vfs_quotactl = ufs_quotactl, .vfs_root = ufs_root, - .vfs_start = ufs_start, .vfs_statfs = ffs_statfs, .vfs_sync = ffs_sync, .vfs_uninit = ffs_uninit, diff --git a/sys/ufs/ufs/ufs_extern.h b/sys/ufs/ufs/ufs_extern.h index 9ada834..5e124e9 100644 --- a/sys/ufs/ufs/ufs_extern.h +++ b/sys/ufs/ufs/ufs_extern.h @@ -86,7 +86,6 @@ int ufs_readdir(struct vop_readdir_args *); int ufs_reclaim(struct vop_reclaim_args *); void ffs_snapgone(struct inode *); vfs_root_t ufs_root; -vfs_start_t ufs_start; int ufs_uninit(struct vfsconf *); int ufs_vinit(struct mount *, vop_t **, struct vnode **); diff --git a/sys/ufs/ufs/ufs_vfsops.c b/sys/ufs/ufs/ufs_vfsops.c index 8876e51..8ba1d9d 100644 --- a/sys/ufs/ufs/ufs_vfsops.c +++ b/sys/ufs/ufs/ufs_vfsops.c @@ -61,20 +61,6 @@ __FBSDID("$FreeBSD$"); #endif MALLOC_DEFINE(M_UFSMNT, "UFS mount", "UFS mount structure"); -/* - * Make a filesystem operational. - * Nothing to do at the moment. - */ -/* ARGSUSED */ -int -ufs_start(mp, flags, td) - struct mount *mp; - int flags; - struct thread *td; -{ - - return (0); -} /* * Return the root of a filesystem. |