lssubsys patch - adds omit controllers
lssubsys patch - adds omit controllers

Changes from previous version:
* put the return value check to separate subpackages
* change the test (info.hierarchy == hierarchy) to
 (info.hierarchy != hierarchy) to decrease the nesting depth
* use memset

This patch fixes lssubsys output - it fixes two problems:
1/ if there was subsystem attached to not-mounted hierarchy then
lssubsys -a
does not show this subsystems
EXAMPLE:

BROKEN:
$ ./lssubsys -am
cpuset
cpuacct /cgroup/memoryd
memory /cgroup/memory
freezer
net_cls /cgroup/net_cls

FIXED:
$ ./lssubsys -am
cpuset
ns							<- controller is in hierarchy but it is not mounted
cpu,devices					<- controller is in hierarchy but it is not mounted
cpuacct /cgroup/memoryd
memory /cgroup/memory
freezer
net_cls /cgroup/net_cls

Signed-off-by: Ivana Hutarova Varekova <2e3918a0a366ea7e658a2062ab582c898a7e1b1b@redhat.com>
Signed-off-by: Jan Safranek <a7f4b96ffdd515ecef00f117294da18555749b0b@redhat.com>

rafalmiel/libcg,rafalmiel/libcg,jrfastab/Linux-cgdcbxd,rafalmiel/libcg,jrfastab/Linux-cgdcbxd,jrfastab/Linux-cgdcbxd,jrfastab/Linux-cgdcbxd,rafalmiel/libcg