Date: Mon, 23 Sep 1996 09:24:46 -0500 (EST) From: "John S. Dyson" <toor@dyson.iquest.net> To: dfr@render.com (Doug Rabson) Cc: fs@freebsd.org, lite2@freebsd.org Subject: Re: vnode_pager_uncache() Message-ID: <199609231424.JAA11836@dyson.iquest.net> In-Reply-To: <Pine.BSF.3.95.960923144508.11343N-100000@minnow.render.com> from "Doug Rabson" at Sep 23, 96 02:51:49 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> 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. > Sounds okay. Continue in that direction, and later on after work, I'll review it more carefully. (in a hurry to go to work :-)). John
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609231424.JAA11836>