From owner-cvs-all Tue Jan 21 13: 9:13 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0198C37B401; Tue, 21 Jan 2003 13:09:13 -0800 (PST) Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id A65F043ED8; Tue, 21 Jan 2003 13:09:12 -0800 (PST) (envelope-from hsu@FreeBSD.org) Received: from FreeBSD.org ([63.193.112.125]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 HotFix 1.6 (built Oct 18 2002)) with ESMTP id <0H93003IP1FCWK@mta6.snfc21.pbi.net>; Tue, 21 Jan 2003 13:09:12 -0800 (PST) Date: Tue, 21 Jan 2003 13:10:42 -0800 From: Jeffrey Hsu Subject: Re: cvs commit: src/sys/kern kern_descrip.c In-reply-to: Message from Alfred Perlstein "of Tue, 21 Jan 2003 12:31:05 PST." <20030121203105.GJ33821@elvis.mu.org> To: Alfred Perlstein Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Message-id: <0H93003IR1FCWK@mta6.snfc21.pbi.net> MIME-version: 1.0 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If you don't lock these operations, you could incorrectly lose the result of an flock(), which sets different bits in the f_flag field from fcntl(). Jeffrey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message