src/lib/fs_simfs.c: speed up vz_fs_is_mounted()

Instead of reading/parsing /proc/mounts we just check if VE_ROOT's device
is the same as its parent directory's device.

This should result in great speed improvement for vzlist.

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