summaryrefslogtreecommitdiffstats
path: root/sys/fs/umapfs/umap_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/umapfs/umap_vfsops.c')
-rw-r--r--sys/fs/umapfs/umap_vfsops.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/sys/fs/umapfs/umap_vfsops.c b/sys/fs/umapfs/umap_vfsops.c
index d9dce5c..8c1b705 100644
--- a/sys/fs/umapfs/umap_vfsops.c
+++ b/sys/fs/umapfs/umap_vfsops.c
@@ -35,7 +35,7 @@
*
* @(#)umap_vfsops.c 8.8 (Berkeley) 5/14/95
*
- * $Id: umap_vfsops.c,v 1.19 1998/02/03 14:30:01 kato Exp $
+ * $Id: umap_vfsops.c,v 1.20 1998/02/07 01:34:32 kato Exp $
*/
/*
@@ -72,6 +72,7 @@ static int umapfs_unmount __P((struct mount *mp, int mntflags,
struct proc *p));
static int umapfs_vget __P((struct mount *mp, ino_t ino,
struct vnode **vpp));
+static int umapfs_vrele __P((struct mount *mp, struct vnode *vp));
static int umapfs_vptofh __P((struct vnode *vp, struct fid *fhp));
/*
@@ -393,6 +394,20 @@ umapfs_vget(mp, ino, vpp)
return (VFS_VGET(MOUNTTOUMAPMOUNT(mp)->umapm_vfs, ino, vpp));
}
+/*
+ * Complement to all vpp returning ops.
+ * XXX - initially only to get rid of WILLRELE.
+ */
+/* ARGSUSED */
+static int
+umapfs_vrele(mp, vp)
+ struct mount *mp;
+ struct vnode *vp;
+{
+ vrele(vp);
+ return (0);
+}
+
static int
umapfs_fhtovp(mp, fidp, nam, vpp, exflagsp, credanonp)
struct mount *mp;
@@ -423,6 +438,7 @@ static struct vfsops umap_vfsops = {
umapfs_statfs,
umapfs_sync,
umapfs_vget,
+ umapfs_vrele,
umapfs_fhtovp,
umapfs_vptofh,
umapfs_init,
OpenPOWER on IntegriCloud