[CRIU] [PATCH] kerndat: call kerndat_link_nsid()

Andrei Vagin avagin at openvz.org
Thu Jan 11 21:16:55 MSK 2018


From: Andrei Vagin <avagin at virtuozzo.com>

It was droped during one of rebases.

Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
 criu/kerndat.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/criu/kerndat.c b/criu/kerndat.c
index b71df1c7c..9a4300e27 100644
--- a/criu/kerndat.c
+++ b/criu/kerndat.c
@@ -1036,6 +1036,8 @@ int kerndat_init(void)
 	if (!ret)
 		ret = kerndat_nsid();
 	if (!ret)
+		ret = kerndat_link_nsid();
+	if (!ret)
 		ret = kerndat_has_memfd_create();
 	if (!ret)
 		ret = kerndat_detect_stack_guard_gap();
-- 
2.13.6



More information about the CRIU mailing list