Commits
Kir Kolyshkin authored 2b1db5b8b63
fs_create(): fix for VE_PRIVATE being a mount point In case VE_PRIVATE is a mount point, fs_create() fails miserably: > Creating container private area (debian-7.0-x86_64-minimal) > Can't rename /data/10001.tmp to /data/10001: Device or resource busy > Destroying container private area: /data/10001 > Warning: directory /data/10001 is not on the same filesystem as > /data/10001/vztmp - doing slow/sync removal > /bin/rm: cannot remove `/data/10001': Device or resource busy > Creation of container private area failed This patch tries to figure out if VE_PRIVATE is a mount point, and in case it is, use it directly, avoiding the tmp_dir hassle. https://bugzilla.openvz.org/3166 Reported-by: Pavel Odintsov <pavel.odintsov@gmail.com> Signed-off-by: Kir Kolyshkin <kir@openvz.org>