[Devel] [PATCH] mount: check for mount is unsupported only on dump

Stanislav Kinsburskiy skinsbursky at virtuozzo.com
Wed Jun 28 15:01:43 MSK 2017


All the mounts on restore stage have to be supported.

Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
---
 criu/mount.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/mount.c b/criu/mount.c
index edbd140..6916974 100644
--- a/criu/mount.c
+++ b/criu/mount.c
@@ -834,7 +834,7 @@ skip_fstype:
 			return -1;
 		}
 
-		if (unsupported_mount(m))
+		if (for_dump && unsupported_mount(m))
 			return -1;
 	}
 



More information about the Devel mailing list