diff options
author | dyson <dyson@FreeBSD.org> | 1997-03-08 04:33:47 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1997-03-08 04:33:47 +0000 |
commit | 3f5747589b924beb43b34977dbb598ac892e2b0c (patch) | |
tree | 71e5506759b5d53e252b6a281254596150312dd8 /sys/vm | |
parent | fb9a08eec21dc6fd5697d2cb9eabeb95a937dab0 (diff) | |
download | FreeBSD-src-3f5747589b924beb43b34977dbb598ac892e2b0c.zip FreeBSD-src-3f5747589b924beb43b34977dbb598ac892e2b0c.tar.gz |
When removing IN_RECURSE support during the Lite/2 merge, read/write
to/from mmaped regions was broken. This commit fixes the breakage, and
uses the new Lite/2 locking mechanisms.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vnode_pager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index 857fa6e..e4d7404 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -38,7 +38,7 @@ * SUCH DAMAGE. * * from: @(#)vnode_pager.c 7.5 (Berkeley) 4/20/91 - * $Id$ + * $Id: vnode_pager.c,v 1.69 1997/02/22 09:48:42 peter Exp $ */ /* @@ -976,7 +976,7 @@ vnode_pager_lock(object) if (object->type != OBJT_VNODE) continue; - vn_lock(object->handle, LK_EXCLUSIVE | LK_RETRY, p); + vn_lock(object->handle, LK_EXCLUSIVE | LK_RETRY | LK_CANRECURSE, p); return object->handle; } return NULL; |