From owner-freebsd-current Sun Jun 14 17:26:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA04689 for freebsd-current-outgoing; Sun, 14 Jun 1998 17:26:30 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA04668 for ; Sun, 14 Jun 1998 17:26:27 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id RAA22188; Sun, 14 Jun 1998 17:14:44 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd022183; Mon Jun 15 00:14:33 1998 Date: Sun, 14 Jun 1998 17:14:30 -0700 (PDT) From: Julian Elischer Reply-To: Julian Elischer To: Poul-Henning Kamp cc: Brian Somers , current@FreeBSD.ORG Subject: Re: RFC: Change to the device interface In-Reply-To: <2265.897865551@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Jun 1998, Poul-Henning Kamp wrote: > In message , 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? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message