kerndat: call kerndat_link_nsid()

Submitted by Andrei Vagin on Jan. 11, 2018, 6:16 p.m.

Details

Message ID 20180111181655.29652-1-avagin@openvz.org
State New
Series "kerndat: call kerndat_link_nsid()"
Headers show

Commit Message

Andrei Vagin Jan. 11, 2018, 6:16 p.m.
From: Andrei Vagin <avagin@virtuozzo.com>

It was droped during one of rebases.

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

Patch hide | download patch | download mbox

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();