Date: Mon, 15 Jun 1998 06:32:09 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Julian Elischer <julian@whistle.com> Cc: Brian Somers <brian@awfulhak.org>, current@FreeBSD.ORG Subject: Re: RFC: Change to the device interface Message-ID: <3413.897885129@critter.freebsd.dk> In-Reply-To: Your message of "Sun, 14 Jun 1998 17:14:30 PDT." <Pine.BSF.3.95.980614161243.6576C-100000@current1.whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.3.95.980614161243.6576C-100000@current1.whistle.com>, Juli an Elischer writes: > > >On Mon, 15 Jun 1998, Poul-Henning Kamp wrote: > >> In message <Pine.BSF.3.95.980614143541.6528A-100000@current1.whistle.com>, Juli >> >> Julian, I think this is needless generality. >> >> Just add one new entrypoint to the devsw structure "openclose" >> which receives as argument the number of currently open R/O and >> R/W opens, as well as the delta which is causing this call, and >> the credentials of the process affecting the change. >> > >Ok, so you need to keep the opens counted somewhere else.. >where? In the vnode? Wouldn't that be the logical place ? -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3413.897885129>