mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 11:04:35 +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:
parent
ddf773585b
commit
05bb44960f
1 changed files with 3 additions and 0 deletions
|
|
@ -1566,6 +1566,9 @@ int cr_dump_tasks(pid_t pid, const struct cr_options *opts)
|
|||
if (collect_pstree(pid, opts))
|
||||
goto err;
|
||||
|
||||
if (collect_mount_info())
|
||||
goto err;
|
||||
|
||||
if (mntns_collect_root(root_item->pid.real))
|
||||
goto err;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue