commit | 14452a7f21c99d1ed6db530cb0eccb232bdcf054 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Sat Aug 18 18:34:45 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Sat Aug 18 18:34:45 2012 +0400 |
tree | 43740fa6668b07c77134748ddaec58ef70b48e04 | |
parent | 1069bc3d61b318e3c3b971263c695ae1f07abe2a [diff] |
vps_is_mounted(): add support for detecting bind mounts In non-OpenVZ kernel we use MS_BIND to mount VE_PRIVATE to VE_ROOT. Before this patch it was not detected, so vzctl status was giving wrong information, and vzctl umount was not working, among the other things. Signed-off-by: Kir Kolyshkin <kir@openvz.org>