commit | bdc0e9d4d0f644e83f0142d2e4ea9049ec7a6571 | [log] [download] |
---|---|---|
author | Glauber Costa <glommer@parallels.com> | Mon Jul 30 10:20:27 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Jul 30 18:06:05 2012 +0400 |
tree | 5ef60d38611763f9b02ee515caf39c6dbbfdad48 | |
parent | b0e1437bb894fb02ed0a580e92887f39ab94cf4a [diff] |
implement upstream linux destroy Unlike in VZ-kernels, we'd like to do a bit of cleanup after a container is gone. We'd like to clean its cgroup structures, and the corresponding bind mounts at /var/run/netns. Do it through a destroy function provided here. Signed-off-by: Glauber Costa <glommer@parallels.com>