From owner-cvs-all Sat Oct 3 01:55:36 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA16457 for cvs-all-outgoing; Sat, 3 Oct 1998 01:55:36 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA16446; Sat, 3 Oct 1998 01:55:34 -0700 (PDT) (envelope-from dfr@FreeBSD.org) From: Doug Rabson Received: (from dfr@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id BAA06395; Sat, 3 Oct 1998 01:55:29 -0700 (PDT) Date: Sat, 3 Oct 1998 01:55:29 -0700 (PDT) Message-Id: <199810030855.BAA06395@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern subr_bus.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 1998/10/03 01:55:29 PDT Modified files: sys/kern subr_bus.c Log: Don't call DEVICE_DETACH directly, always go through the device_detach() wrapper which checks to make sure the device isn't currently open. Revision Changes Path 1.6 +4 -4 src/sys/kern/subr_bus.c