summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-07-06 05:23:17 +0000
committerjeff <jeff@FreeBSD.org>2002-07-06 05:23:17 +0000
commit68e01986120fe7577fe96c40f9eaaff18f1ee461 (patch)
tree2321dbd8ab6082dfcca6d2dc5147d1653ea21283 /sys
parent908b0eb9a78bba073426ca3522bc7b515b842766 (diff)
downloadFreeBSD-src-68e01986120fe7577fe96c40f9eaaff18f1ee461.zip
FreeBSD-src-68e01986120fe7577fe96c40f9eaaff18f1ee461.tar.gz
- Disable original vop_strategy lock specification.
- Switch to the new vop_strategy_pre for lock validation. VOP_STRATEGY requires only that the buf is locked UNLESS the block numbers need to be translated. There may be other reasons, but as long as the underlying layer uses a VOP to perform the operations they will be caught later.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vnode_if.src3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vnode_if.src b/sys/kern/vnode_if.src
index be9852d..70c8954 100644
--- a/sys/kern/vnode_if.src
+++ b/sys/kern/vnode_if.src
@@ -387,7 +387,8 @@ vop_bmap {
};
#
-#% strategy vp L L L
+# strategy vp L L L
+#! strategy pre vop_strategy_pre
#
vop_strategy {
IN struct vnode *vp;
OpenPOWER on IntegriCloud