From owner-cvs-all@FreeBSD.ORG Sun May 25 14:37:34 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 240B2106564A; Sun, 25 May 2008 14:37:34 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EF1CE8FC12; Sun, 25 May 2008 14:37:33 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m4PEbXG9094429; Sun, 25 May 2008 14:37:33 GMT (envelope-from rpaulo@repoman.freebsd.org) Received: (from rpaulo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4PEbXr9094428; Sun, 25 May 2008 14:37:33 GMT (envelope-from rpaulo) Message-Id: <200805251437.m4PEbXr9094428@repoman.freebsd.org> From: Rui Paulo Date: Sun, 25 May 2008 14:37:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/kern subr_bus.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: Sun, 25 May 2008 14:37:34 -0000 rpaulo 2008-05-25 14:37:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern subr_bus.c Log: MFC r1.208: devctl_process_running(): Check for devsoftc.inuse == 1 instead of devsoftc.async_proc != NULL because the latter might not be true sometimes. This way /etc/rc.suspend gets executed. Reviwed by: njl Submitted by: Mitsuru IWASAKI Tested also by: Andreas Wetzel Revision Changes Path 1.201.2.2 +1 -1 src/sys/kern/subr_bus.c