From: Ian Campbell Subject: Re: [Patch 1/2] tools/libxc: goto correct label on error paths Date: Tue, 4 Feb 2014 15:55:34 +0000 Message-ID: <1391529334.6497.48.camel@kazak.uk.xensource.com> References: <1390839925-28088-1-git-send-email-andrew.cooper3@citrix.com> <1390839925-28088-2-git-send-email-andrew.cooper3@citrix.com> <52E79757.9090708@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52E79757.9090708@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: Andrew Cooper , Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Tue, 2014-01-28 at 11:41 +0000, George Dunlap wrote: > On 01/27/2014 04:25 PM, Andrew Cooper wrote: > > Both of these "goto finish;" statements are actually errors, and need to "goto > > out;" instead, which will correctly destroy the domain and return an error, > > rather than trying to finish the migration (and in at least one scenario, > > return success). > > > > Signed-off-by: Andrew Cooper > > CC: Ian Campbell > > CC: Ian Jackson > > CC: George Dunlap > > Right -- I can't imagine any goodness coming from jumping to "finish" in > those cases... > > Release-acked-by: George Dunlap Acked + applied, thanks.