mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
mount: Handle deleted bindmounts
To handle deleted bindmounts we simply create the former directory bindmount lived at, mount the target and remove the directory back. For this sake we add @deleted entry into the image. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Acked-by: Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
60f6ec7dd6
commit
80ef8fd2fb
4 changed files with 33 additions and 2 deletions
|
|
@ -58,6 +58,7 @@ struct mount_info {
|
|||
};
|
||||
bool need_plugin;
|
||||
bool is_ns_root;
|
||||
bool deleted;
|
||||
struct mount_info *next;
|
||||
struct ns_id *nsid;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue