Re: [libvirt] [PATCH]lxc: do cleanup when failed to bind fs as read-only

2013-09-30 Thread Chen Hanxiao
> -Original Message- > From: Daniel P. Berrange [mailto:berra...@redhat.com] > Sent: Monday, September 30, 2013 4:45 PM > To: Chen Hanxiao > Cc: libvir-list@redhat.com > Subject: Re: [libvirt] [PATCH]lxc: do cleanup when failed to bind fs as > read-only > >

Re: [libvirt] [PATCH]lxc: do cleanup when failed to bind fs as read-only

2013-09-30 Thread Daniel P. Berrange
On Sun, Sep 29, 2013 at 06:36:24PM +0800, Chen Hanxiao wrote: > From: Chen Hanxiao > > We forgot to 'goto cleanup' when lxcContainerMountFSTmpfs > failed to bind fs as read-only. > > Signed-off-by: Chen Hanxiao > --- > src/lxc/lxc_container.c | 1 + > 1 file changed, 1 insertion(+) > > diff -

[libvirt] [PATCH]lxc: do cleanup when failed to bind fs as read-only

2013-09-29 Thread Chen Hanxiao
From: Chen Hanxiao We forgot to 'goto cleanup' when lxcContainerMountFSTmpfs failed to bind fs as read-only. Signed-off-by: Chen Hanxiao --- src/lxc/lxc_container.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c index c60f5d8..3fdf397 1006