mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-03 07:45:17 +00:00
dump: Collect mount information on dump
For fanotify dumping we need to find mount points the path lay on, moreover we save a mount point device number in the image, thus collect mount point information on dump stage. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
ddf773585b
commit
05bb44960f
@@ -1566,6 +1566,9 @@ int cr_dump_tasks(pid_t pid, const struct cr_options *opts)
|
|||||||
if (collect_pstree(pid, opts))
|
if (collect_pstree(pid, opts))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
|
if (collect_mount_info())
|
||||||
|
goto err;
|
||||||
|
|
||||||
if (mntns_collect_root(root_item->pid.real))
|
if (mntns_collect_root(root_item->pid.real))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user