[libvirt] [PATCH]LXC: Check the existence of dir before resolving symlinks
Daniel P. Berrange
berrange at redhat.com
Mon Sep 23 10:30:06 UTC 2013
On Mon, Sep 23, 2013 at 02:46:20PM +0800, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
>
> If dir does not exist, raise a proper error in logs
> and don't let virFileResolveAllLinks throw itself's exceptions
> in logs, which may be misleading.
>
> Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
> ---
> src/lxc/lxc_container.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
ACK & pushed.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list