summaryrefslogtreecommitdiff
path: root/sys/fs
diff options
context:
space:
mode:
authorhannken <hannken@NetBSD.org>2022-03-19 13:53:32 +0000
committerhannken <hannken@NetBSD.org>2022-03-19 13:53:32 +0000
commit01d8bbd59bf96f293ce7ccf5a241fe73631611de (patch)
treecd3ac88c4396820f5a75db0f5427fa5fa75a03b0 /sys/fs
parent36b4adc4deea10c4d418be7bcb79b259dce95bd3 (diff)
Remove now unused VV_LOCKSWORK, all file systems support locking.
Remove unused predicates vn_locked() and vn_anylocked(). Welcome to 9.99.95
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/efs/efs_vfsops.c5
-rw-r--r--sys/fs/hfs/hfs_vfsops.c5
-rw-r--r--sys/fs/union/union_subr.c5
3 files changed, 6 insertions, 9 deletions
diff --git a/sys/fs/efs/efs_vfsops.c b/sys/fs/efs/efs_vfsops.c
index 790c7f4eada..abee43deb55 100644
--- a/sys/fs/efs/efs_vfsops.c
+++ b/sys/fs/efs/efs_vfsops.c
@@ -1,4 +1,4 @@
-/* $NetBSD: efs_vfsops.c,v 1.29 2020/01/17 20:08:07 ad Exp $ */
+/* $NetBSD: efs_vfsops.c,v 1.30 2022/03/19 13:53:32 hannken Exp $ */
/*
* Copyright (c) 2006 Stephen M. Rumble <rumble@ephemeral.org>
@@ -17,7 +17,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: efs_vfsops.c,v 1.29 2020/01/17 20:08:07 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: efs_vfsops.c,v 1.30 2022/03/19 13:53:32 hannken Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -439,7 +439,6 @@ efs_loadvnode(struct mount *mp, struct vnode *vp,
}
vp->v_tag = VT_EFS;
- vp->v_vflag |= VV_LOCKSWORK;
vp->v_data = eip;
genfs_node_init(vp, &efs_genfsops);
uvm_vnp_setsize(vp, eip->ei_size);
diff --git a/sys/fs/hfs/hfs_vfsops.c b/sys/fs/hfs/hfs_vfsops.c
index 35cf5ab4b45..da08c5826c9 100644
--- a/sys/fs/hfs/hfs_vfsops.c
+++ b/sys/fs/hfs/hfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hfs_vfsops.c,v 1.37 2020/02/28 11:27:38 kamil Exp $ */
+/* $NetBSD: hfs_vfsops.c,v 1.38 2022/03/19 13:53:32 hannken Exp $ */
/*-
* Copyright (c) 2005, 2007 The NetBSD Foundation, Inc.
@@ -99,7 +99,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hfs_vfsops.c,v 1.37 2020/02/28 11:27:38 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hfs_vfsops.c,v 1.38 2022/03/19 13:53:32 hannken Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -583,7 +583,6 @@ hfs_loadvnode(struct mount *mp, struct vnode *vp,
vp->v_tag = VT_HFS;
vp->v_op = hfs_vnodeop_p;
- vp->v_vflag |= VV_LOCKSWORK;
vp->v_data = hnode;
genfs_node_init(vp, &hfs_genfsops);
diff --git a/sys/fs/union/union_subr.c b/sys/fs/union/union_subr.c
index eae0d8767b8..cd948dca201 100644
--- a/sys/fs/union/union_subr.c
+++ b/sys/fs/union/union_subr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: union_subr.c,v 1.80 2022/03/19 13:48:04 hannken Exp $ */
+/* $NetBSD: union_subr.c,v 1.81 2022/03/19 13:53:32 hannken Exp $ */
/*
* Copyright (c) 1994
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: union_subr.c,v 1.80 2022/03/19 13:48:04 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: union_subr.c,v 1.81 2022/03/19 13:53:32 hannken Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -567,7 +567,6 @@ union_loadvnode(struct mount *mp, struct vnode *vp,
vp->v_tag = VT_UNION;
vp->v_op = union_vnodeop_p;
- vp->v_vflag |= VV_LOCKSWORK;
vp->v_data = un;
un->un_vnode = vp;