commit | dadd0862b19dc1d8946e83170401b0cf51bc1778 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Mon Jan 26 17:56:36 2015 -0800 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Jan 26 17:56:36 2015 -0800 |
tree | 4b65c143e536d527b9e368e9c1844e11700dbc93 | |
parent | 33e7f02ce9a4dd4e84ce82bb81bebaf0934a4a69 [diff] |
is_mount_point(): fix for non-existing dir Recent commit 2b1db5b introduces a regression -- in case VE_PRIVATE doesn't exist, is_mount_point() returns -1 and CT creation fails. Fix is_mount_point() so if a directory doesn't exist, 0 is returned (i.e. non-existing directory is definitely not a mount point). https://bugzilla.openvz.org/3174 Reported-by: Pavel Odintsov <pavel.odintsov@gmail.com> Signed-off-by: Kir Kolyshkin <kir@openvz.org>