Commit 380c0d67 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

mount: give a list of mounts into validate_mounts

It's a typo fix.
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent fb3ce0fb
...@@ -1683,7 +1683,7 @@ static int populate_mnt_ns(int ns_pid, struct mount_info *mis) ...@@ -1683,7 +1683,7 @@ static int populate_mnt_ns(int ns_pid, struct mount_info *mis)
if (!pms) if (!pms)
return -1; return -1;
if (validate_mounts(pms, false)) if (validate_mounts(mis, false))
return -1; return -1;
mntinfo_tree = pms; mntinfo_tree = pms;
......
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