mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
mount: save local mount point paths on restore
On restore we add a temporary root to a mount point path. It's convinient for restoring mount namespaces, but real paths are used for restoring link-remap files. v2: replace the offset field on a char * field Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
7db1e6b9b9
commit
ce5aa74d10
@@ -114,8 +114,10 @@ struct mount_info {
|
||||
* On restore mountpoint is prepended with so called ns
|
||||
* root path -- it's a place in fs where the namespace
|
||||
* mount tree is constructed. Check mnt_roots for details.
|
||||
* The ns_mountpoint contains path w/o this prefix.
|
||||
*/
|
||||
char *mountpoint;
|
||||
char *ns_mountpoint;
|
||||
unsigned flags;
|
||||
int master_id;
|
||||
int shared_id;
|
||||
|
Reference in New Issue
Block a user