From owner-cvs-all@FreeBSD.ORG Mon Apr 2 13:40:39 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71AF316A404; Mon, 2 Apr 2007 13:40:39 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4AA0E13C44C; Mon, 2 Apr 2007 13:40:39 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l32DedWK051006; Mon, 2 Apr 2007 13:40:39 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l32DedRX051005; Mon, 2 Apr 2007 13:40:39 GMT (envelope-from jhb) Message-Id: <200704021340.l32DedRX051005@repoman.freebsd.org> From: John Baldwin Date: Mon, 2 Apr 2007 13:40:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern vfs_syscalls.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 13:40:39 -0000 jhb 2007-04-02 13:40:38 UTC FreeBSD src repository Modified files: sys/kern vfs_syscalls.c Log: Don't go to a whole lot of extra work to handle the race where the new file descriptor is closed out from under us in kern_open(). This race is already handled and the file will be closed when kern_open() does an fdrop just before returning. Revision Changes Path 1.435 +2 -25 src/sys/kern/vfs_syscalls.c