commit | 971dc84c93a49fa7509c73d43eae1c518c43dfbb | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue May 28 23:37:58 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue May 28 23:37:58 2013 -0700 |
tree | 6adcbcb8336df1a3db82c73b52aae24ff5aabded | |
parent | 939a31c03eb71f41aa6e11459ff608a6dc46fb31 [diff] |
vzctl create: umount ploop device if interrupted In case we got interrupted while creating ploop CT, employ cleanup mechanism to umount ploop image. Otherwise (i.e. without this patch) interrupted vzctl create leaves a directory under /vz/vztmp and a stalled vzctl process which tries to delete this directory but can not since it contains an image used by in-kernel ploop device that can't be removed. Signed-off-by: Kir Kolyshkin <kir@openvz.org>