Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Nov 1999 22:21:03 +0300
From:      Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        Ollivier Robert <roberto@keltia.freenix.fr>, "FreeBSD Current Users' list" <freebsd-current@FreeBSD.ORG>, green@FreeBSD.ORG
Subject:   Re: Serious locking problem in CURRENT 
Message-ID:  <199911061921.WAA02732@tejblum.pp.ru>
In-Reply-To: Your message of "Sat, 06 Nov 1999 13:45:48 GMT." <19991106134548.A2921@walton.maths.tcd.ie> 

next in thread | previous in thread | raw e-mail | index | archive | help
David Malone wrote:
> A child process seems to be able to let go of a parent's lock on
> 4.0 by closing a file discriptor, the same doesn't seem to be true
> on 3.3.

So, apparently, it was broken in rev. 1.68 of kern_descript.c. (Another 
example that comments (in closef() in this case) serve no purpose :-/).

BTW, I have another little concern with that commit: It make possible for 
last close() of a file descriptor to return 0 instead of the error from 
VOP_CLOSE(), and the error from VOP_CLOSE() to be ignored.

Dima




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?199911061921.WAA02732>