summaryrefslogtreecommitdiff
path: root/sys/fs/tmpfs/tmpfs_vnops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/tmpfs/tmpfs_vnops.c')
-rw-r--r--sys/fs/tmpfs/tmpfs_vnops.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c
index c150b3b986d1..ce45b18a10fc 100644
--- a/sys/fs/tmpfs/tmpfs_vnops.c
+++ b/sys/fs/tmpfs/tmpfs_vnops.c
@@ -1427,36 +1427,6 @@ tmpfs_pathconf(struct vop_pathconf_args *v)
return error;
}
-/* --------------------------------------------------------------------- */
-
-static int
-tmpfs_advlock(struct vop_advlock_args *v)
-{
- struct vnode *vp = v->a_vp;
-
- struct tmpfs_node *node;
-
- node = VP_TO_TMPFS_NODE(vp);
-
- return lf_advlock(v, &node->tn_lockf, node->tn_size);
-}
-
-/* --------------------------------------------------------------------- */
-
-static int
-tmpfs_advlockasync(struct vop_advlockasync_args *v)
-{
- struct vnode *vp = v->a_vp;
-
- struct tmpfs_node *node;
-
- node = VP_TO_TMPFS_NODE(vp);
-
- return lf_advlockasync(v, &node->tn_lockf, node->tn_size);
-}
-
-/* --------------------------------------------------------------------- */
-
static int
tmpfs_vptofh(struct vop_vptofh_args *ap)
{
@@ -1504,8 +1474,6 @@ struct vop_vector tmpfs_vnodeop_entries = {
.vop_reclaim = tmpfs_reclaim,
.vop_print = tmpfs_print,
.vop_pathconf = tmpfs_pathconf,
- .vop_advlock = tmpfs_advlock,
- .vop_advlockasync = tmpfs_advlockasync,
.vop_vptofh = tmpfs_vptofh,
.vop_bmap = VOP_EOPNOTSUPP,
};