From eb2c768ebb95e3ac89792f73be081c0135bcae6d Mon Sep 17 00:00:00 2001 From: John Dyson Date: Sat, 8 Mar 1997 04:33:47 +0000 Subject: [PATCH] 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. --- sys/vm/vnode_pager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index 857fa6e53cd..e4d7404888a 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;