commit | de32e54728567076fbfa738500241a3eca2f8b6d | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Thu Apr 19 23:31:07 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Apr 19 23:34:53 2012 +0400 |
tree | 9d22853dfc9d3196e2c199cb7bbea2c4d0da95d2 | |
parent | 2290648888dbc91f0d19a668cda7f55411967ff7 [diff] |
vzlist: fix showing disk usage for mounted CTs In case a container is mounted (and quota is enabled for it), its diskspace/diskinodes usage is well known from /proc/vz/vzquota. But because of status == VE_RUNNING check in PRINT_DQ the usage is now shown. Fix it by replacing the "is running" checking to "is usage==0". Signed-off-by: Kir Kolyshkin <kir@openvz.org>