Commit 65468bbc authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

uns: Fix descriptor passed into a walk

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 33337311
......@@ -796,7 +796,7 @@ int collect_user_namespaces(bool for_dump)
if (!(root_ns_mask & CLONE_NEWUSER))
return 0;
return walk_namespaces(&net_ns_desc, collect_user_ns, NULL);
return walk_namespaces(&user_ns_desc, collect_user_ns, NULL);
}
static int check_user_ns(int pid)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment