From owner-cvs-src@FreeBSD.ORG Fri Oct 20 08:01:18 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85E9416A4ED; Fri, 20 Oct 2006 08:01:18 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CC3A43D5D; Fri, 20 Oct 2006 08:00:22 +0000 (GMT) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9K7xobx084443; Fri, 20 Oct 2006 07:59:50 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9K7xoMD084442; Fri, 20 Oct 2006 07:59:50 GMT (envelope-from kib) Message-Id: <200610200759.k9K7xoMD084442@repoman.freebsd.org> From: Konstantin Belousov Date: Fri, 20 Oct 2006 07:59:50 +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 kern_conf.c src/sys/sys conf.h src/sys/fs/devfs devfs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2006 08:01:18 -0000 kib 2006-10-20 07:59:50 UTC FreeBSD src repository Modified files: sys/kern kern_conf.c sys/sys conf.h sys/fs/devfs devfs_vnops.c Log: Fix the race between devfs_fp_check and devfs_reclaim. Derefence the vnode' v_rdev and increment the dev threadcount , as well as clear it (in devfs_reclaim) under the dev_lock(). Reviewed by: tegge Approved by: pjd (mentor) Revision Changes Path 1.137 +9 -5 src/sys/fs/devfs/devfs_vnops.c 1.200 +18 -0 src/sys/kern/kern_conf.c 1.230 +2 -0 src/sys/sys/conf.h