[CRIU] [PATCH 2/4] check: mnt_id is now in mainline

Tycho Andersen tycho.andersen at canonical.com
Thu Oct 15 15:28:08 PDT 2015


As of
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=49d063cb3
the mnt_id field is in mainline, so let's check for it in --ms.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
 cr-check.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/cr-check.c b/cr-check.c
index 21bd508..681ab45 100644
--- a/cr-check.c
+++ b/cr-check.c
@@ -293,11 +293,6 @@ int check_mnt_id(void)
 	struct fdinfo_common fdinfo = { .mnt_id = -1 };
 	int ret;
 
-	if (opts.check_ms_kernel) {
-		pr_warn("Skipping mnt_id support check\n");
-		return 0;
-	}
-
 	ret = parse_fdinfo(get_service_fd(LOG_FD_OFF), FD_TYPES__UND, NULL, &fdinfo);
 	if (ret < 0)
 		return -1;
-- 
2.1.4



More information about the CRIU mailing list