]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
LXC: Check the existence of dir before resolving symlinks
authorChen Hanxiao <chenhanxiao@cn.fujitsu.com>
Mon, 23 Sep 2013 10:22:17 +0000 (11:22 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 23 Sep 2013 10:22:17 +0000 (11:22 +0100)
commit9a08e2cbc6933c068310c85354cff75e015f1de0
tree7ee1d7886590ee7c34f445dd6469618a36a617ac
parent0e618c6affc28949dfef965205f86759a1a3582f
LXC: Check the existence of dir before resolving symlinks

If a dir does not exist, raise an immediate error in logs
rather than letting virFileResolveAllLinks fail, since this
gives better error reporting to the user.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
src/lxc/lxc_container.c