From owner-freebsd-fs Mon Sep 23 06:52:41 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA01956 for fs-outgoing; Mon, 23 Sep 1996 06:52:41 -0700 (PDT) Received: from minnow.render.com (render.demon.co.uk [158.152.30.118]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id GAA01804; Mon, 23 Sep 1996 06:52:24 -0700 (PDT) Received: from minnow.render.com (minnow.render.com [193.195.178.1]) by minnow.render.com (8.6.12/8.6.9) with SMTP id OAA16992; Mon, 23 Sep 1996 14:51:49 +0100 Date: Mon, 23 Sep 1996 14:51:49 +0100 (BST) From: Doug Rabson To: fs@freebsd.org, lite2@freebsd.org Subject: vnode_pager_uncache() Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I want to add a struct proc* argument to this call. The reason is that lite2 has a struct proc* argument to vn_lock/VOP_UNLOCK and panics if the wrong process unlocks a vnode. This causes trouble for the odd cases like shutdown where a process other than curproc is given to the filesystem since vnode_pager_uncache needs to manipulate the vnode lock sometimes. I can hack around it by ignoring the passed proc and substituting curproc in the places which matter but the right thing to do is for vnode_pager_uncache to use the correct proc. -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 734 3761 FAX: +44 171 734 6426