Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KchG1-000650-MQ for mharc-grub-devel@gnu.org; Mon, 08 Sep 2008 09:58:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KchFz-00064V-B7 for grub-devel@gnu.org; Mon, 08 Sep 2008 09:58:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KchFw-00063o-TP for grub-devel@gnu.org; Mon, 08 Sep 2008 09:58:18 -0400 Received: from [199.232.76.173] (port=49007 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KchFw-00063l-Pt for grub-devel@gnu.org; Mon, 08 Sep 2008 09:58:16 -0400 Received: from aybabtu.com ([69.60.117.155]:40540) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KchFv-0006JF-L9 for grub-devel@gnu.org; Mon, 08 Sep 2008 09:58:16 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Kch56-0000Xo-Jj for grub-devel@gnu.org; Mon, 08 Sep 2008 15:47:05 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1KchEM-0005s0-CD for grub-devel@gnu.org; Mon, 08 Sep 2008 15:56:38 +0200 Date: Mon, 8 Sep 2008 15:56:38 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080908135638.GA22528@thorin> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] bug fix for ata.c and scsi.c X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2008 13:58:19 -0000 On Mon, Sep 01, 2008 at 09:21:30PM +0800, Bean wrote: > Hi, > > 2008-09-01 Bean > > * disk/ata.c (grub_apapi_open): Initialize devfnd, no need to set > scsi->name and scsi->luns, as they will be set in grub_scsi_open. > > * disk/scsi.c (grub_scsi_open): Don't call p->close (scsi) here when > error occurs, as grub_disk_open will call grub_disk_close, which will > call p->close (scsi). I tested this and it seems to work fine. Will you check it in soon? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."