commit | e0c41033fb25a4778605ad3657ca07502575fddb | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Mon Jun 25 17:19:34 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Jun 25 17:19:34 2012 +0400 |
tree | 0574bbb0c9d6ba770c07c7bcdd41b4990053e17c | |
parent | 338ee528c4bdce23f28e4c452599d890fa53be41 [diff] |
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>