Received: by mail.netbsd.org (Postfix, from userid 605) id 62E9D14A126; Tue, 26 Apr 2011 07:41:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6135F14A124 for ; Tue, 26 Apr 2011 07:41:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 9x6BDv3L1OLl for ; Tue, 26 Apr 2011 07:41:18 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id CDB2014A101 for ; Tue, 26 Apr 2011 07:41:18 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id B29A5175DD; Tue, 26 Apr 2011 07:41:18 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Tue, 26 Apr 2011 07:41:18 +0000 From: "Juergen Hannken-Illjes" Subject: CVS commit: src/sys/dev/scsipi To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20110426074118.B29A5175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Juergen Hannken-Illjes" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: hannken Date: Tue Apr 26 07:41:18 UTC 2011 Modified Files: src/sys/dev/scsipi: scsiconf.c Log Message: Fixup previous. The bug was in scsibusdetach(), which is not doing things in the proper order: it has to detach its children and check for error. If no error, then it can release the resources that the children were using. From David Young via source-changes-d. To generate a diff of this commit: cvs rdiff -u -r1.261 -r1.262 src/sys/dev/scsipi/scsiconf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.