aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2002-07-06 05:23:17 +0000
committerJeff Roberson <jeff@FreeBSD.org>2002-07-06 05:23:17 +0000
commite818064e986d46f07b0696142d2b616a555d2685 (patch)
tree2321dbd8ab6082dfcca6d2dc5147d1653ea21283 /sys
parent302c7aaab96575e021f27466af3c2be070971122 (diff)
downloadsrc-e818064e986d46f07b0696142d2b616a555d2685.tar.gz
src-e818064e986d46f07b0696142d2b616a555d2685.zip
- 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.
Notes
Notes: svn path=/head/; revision=99486
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 be9852d6376b..70c8954bf26f 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;