summaryrefslogtreecommitdiffstats
path: root/sys/fs/umapfs
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2002-10-19 22:22:42 +0000
committerkan <kan@FreeBSD.org>2002-10-19 22:22:42 +0000
commit4f485751b7792978c78e6527440ef93d7f073f08 (patch)
tree9f140873f68f0f56c0393d698a5073437489743e /sys/fs/umapfs
parent5b0d8c1af4b607f818fe94434ae5f1d309b9722b (diff)
downloadFreeBSD-src-4f485751b7792978c78e6527440ef93d7f073f08.zip
FreeBSD-src-4f485751b7792978c78e6527440ef93d7f073f08.tar.gz
umap_sync is empty and is identical to vfs_stdsync. Remove it and
use generic function instead. Approved by: obrien
Diffstat (limited to 'sys/fs/umapfs')
-rw-r--r--sys/fs/umapfs/umap_vfsops.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/fs/umapfs/umap_vfsops.c b/sys/fs/umapfs/umap_vfsops.c
index 442c906..c1ed751 100644
--- a/sys/fs/umapfs/umap_vfsops.c
+++ b/sys/fs/umapfs/umap_vfsops.c
@@ -69,8 +69,6 @@ static int umapfs_root(struct mount *mp, struct vnode **vpp);
static int umapfs_start(struct mount *mp, int flags, struct thread *td);
static int umapfs_statfs(struct mount *mp, struct statfs *sbp,
struct thread *td);
-static int umapfs_sync(struct mount *mp, int waitfor,
- struct ucred *cred, struct thread *td);
static int umapfs_unmount(struct mount *mp, int mntflags,
struct thread *td);
static int umapfs_vget(struct mount *mp, ino_t ino, int flags,
@@ -383,19 +381,6 @@ umapfs_statfs(mp, sbp, td)
}
static int
-umapfs_sync(mp, waitfor, cred, td)
- struct mount *mp;
- int waitfor;
- struct ucred *cred;
- struct thread *td;
-{
- /*
- * XXX - Assumes no data cached at umap layer.
- */
- return (0);
-}
-
-static int
umapfs_vget(mp, ino, flags, vpp)
struct mount *mp;
ino_t ino;
@@ -458,7 +443,7 @@ static struct vfsops umap_vfsops = {
umapfs_root,
umapfs_quotactl,
umapfs_statfs,
- umapfs_sync,
+ vfs_stdsync,
umapfs_vget,
umapfs_fhtovp,
umapfs_checkexp,
OpenPOWER on IntegriCloud