Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2003 15:07:40 +0100
From:      Joerg Wunsch <j@uriah.heep.sax.de>
To:        phk@freebsd.org
Cc:        ticso@cicely.de, freebsd-current@freebsd.org
Subject:   Re: I want a sysctl kern.allow_shooting_into_my_foot!
Message-ID:  <20030122150740.C70341@uriah.heep.sax.de>
In-Reply-To: <25787.1043243590@critter.freebsd.dk>; from phk@freebsd.org on Wed, Jan 22, 2003 at 02:53:10PM %2B0100
References:  <20030122134820.GD758@cicely8.cicely.de> <25787.1043243590@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
As phk@freebsd.org wrote:

> >You are saying that the close should read?
> >error = (*devsw(drive->dev)->d_close) (drive->dev, FWRITE | FREAD, 0, NULL);
> 
> Yes, d_close should match whatever the corresponding d_open is called with.

Thanks for pointing this out, this indeed seems to fix this case, fix already
committed. ;-)
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

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?20030122150740.C70341>