mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
mnt: don't dump external mounts
These are going to be bind mounted from the outside world after all, so there is no use in dumping them. Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
b6a355c33c
commit
b6cdc5e9bd
1 changed files with 1 additions and 1 deletions
2
mount.c
2
mount.c
|
|
@ -1592,7 +1592,7 @@ static int dump_one_mountpoint(struct mount_info *pm, struct cr_img *img)
|
|||
if (me.fstype == FSTYPE__AUTO)
|
||||
me.fsname = pm->fstype->name;
|
||||
|
||||
if (pm->parent && !pm->dumped && !pm->need_plugin &&
|
||||
if (pm->parent && !pm->dumped && !pm->need_plugin && !pm->external &&
|
||||
pm->fstype->dump && fsroot_mounted(pm)) {
|
||||
struct mount_info *t;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue