vps_create: minor fixes to cleanup logic

fs_create() is supposed to remove VE_PRIVATE in case of error,
so we don't need to clean it up if it return an error. This fixes
the following error (lines marked with *):

   # vzctl create 666 --ostemplate centos-6-x86-minimal --private /dev/shm
   Can't create: private dir (/dev/shm) is a mount point. Suggestion: use --private /dev/shm/private
 * Destroying container private area: /dev/shm
 * Warning: directory /dev/shm is not on the same filesystem as /dev/shm/vztmp - doing slow/sync removal
 * /bin/rm: cannot remove `/dev/shm': Device or resource busy
   Creation of container private area failed

While at it, also fix a jump to a wrong label after mod_setup() error.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed