diff options
Diffstat (limited to 'sys/kern/vfs_default.c')
-rw-r--r-- | sys/kern/vfs_default.c | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c index b661ba724de..7df5a5757b9 100644 --- a/sys/kern/vfs_default.c +++ b/sys/kern/vfs_default.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_default.c,v 1.49 2021/10/02 08:51:41 semarie Exp $ */ +/* $OpenBSD: vfs_default.c,v 1.50 2021/10/15 06:30:06 semarie Exp $ */ /* * Portions of this code are: @@ -167,37 +167,6 @@ vop_generic_abortop(void *v) return (0); } -/* - * Stubs to use when there is no locking to be done on the underlying object. - * A minimal shared lock is necessary to ensure that the underlying object - * is not revoked while an operation is in progress. So, an active shared - * count should be maintained in an auxiliary vnode lock structure. However, - * that's not done now. - */ -int -vop_generic_lock(void *v) -{ - return (0); -} - -/* - * Decrement the active use count. (Not done currently) - */ -int -vop_generic_unlock(void *v) -{ - return (0); -} - -/* - * Return whether or not the node is in use. (Not done currently) - */ -int -vop_generic_islocked(void *v) -{ - return (0); -} - const struct filterops generic_filtops = { .f_flags = FILTEROP_ISFD, .f_attach = NULL, |