summaryrefslogtreecommitdiff
path: root/sys/miscfs/nullfs
diff options
context:
space:
mode:
authorhannken <hannken@NetBSD.org>2004-01-25 18:06:48 +0000
committerhannken <hannken@NetBSD.org>2004-01-25 18:06:48 +0000
commit3db4e2acd8e5eada26b08616d608d82fc4af74a0 (patch)
tree1b03b5d463d3843c9d4fd5aabc3aff9b93dd232b /sys/miscfs/nullfs
parentd7f6cbf8bcfc796c13c751a3bcda9e4ce70cb790 (diff)
Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.
VOP_STRATEGY(bp) is replaced by one of two new functions: - VOP_STRATEGY(vp, bp) Call the strategy routine of vp for bp. - DEV_STRATEGY(bp) Call the d_strategy routine of bp->b_dev for bp. DEV_STRATEGY(bp) is used only for block-to-block device situations.
Diffstat (limited to 'sys/miscfs/nullfs')
-rw-r--r--sys/miscfs/nullfs/null_vnops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/miscfs/nullfs/null_vnops.c b/sys/miscfs/nullfs/null_vnops.c
index 6a71611d714..3c6482cef07 100644
--- a/sys/miscfs/nullfs/null_vnops.c
+++ b/sys/miscfs/nullfs/null_vnops.c
@@ -1,4 +1,4 @@
-/* $NetBSD: null_vnops.c,v 1.27 2003/08/07 16:32:39 agc Exp $ */
+/* $NetBSD: null_vnops.c,v 1.28 2004/01/25 18:06:49 hannken Exp $ */
/*
* Copyright (c) 1999 National Aeronautics & Space Administration
@@ -203,7 +203,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: null_vnops.c,v 1.27 2003/08/07 16:32:39 agc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: null_vnops.c,v 1.28 2004/01/25 18:06:49 hannken Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -239,7 +239,6 @@ const struct vnodeopv_entry_desc null_vnodeop_entries[] = {
{ &vop_open_desc, layer_open }, /* mount option handling */
- { &vop_strategy_desc, layer_strategy },
{ &vop_bwrite_desc, layer_bwrite },
{ &vop_bmap_desc, layer_bmap },
{ &vop_getpages_desc, layer_getpages },