src/lib/ub.c: introduce is_vswap_config()

This function is to be used in places that need to determine if the
container' beancounter config is vswap-enabled or a standard UBC config.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2 files changed