diff options
author | jeff <jeff@FreeBSD.org> | 2002-07-06 05:23:17 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2002-07-06 05:23:17 +0000 |
commit | 68e01986120fe7577fe96c40f9eaaff18f1ee461 (patch) | |
tree | 2321dbd8ab6082dfcca6d2dc5147d1653ea21283 /sys | |
parent | 908b0eb9a78bba073426ca3522bc7b515b842766 (diff) | |
download | FreeBSD-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.src | 3 |
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; |