From: Andrei Vagin <ava...@openvz.org> Signed-off-by: Andrei Vagin <ava...@virtuozzo.com> --- criu/mount.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/criu/mount.c b/criu/mount.c index fcec92f..76d1505 100644 --- a/criu/mount.c +++ b/criu/mount.c @@ -2493,7 +2493,8 @@ static int propagate_mount(struct mount_info *mi) * is always shared. If we want to get a private * mount, we need to convert it. */ - restore_shared_options(c, !c->shared_id, 0, 0); + if (restore_shared_options(c, !c->shared_id, 0, 0)) + return -1; c->mounted = true; propagate_siblings(c); -- 1.8.3.1 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel