Commit 9c4744d6 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by Pavel Emelyanov

mount: Set opts.has_binfmt_misc regardless of mnt_ns level

Since cr-time binfmt_misc is mounted regardless of mnt_ns
level, it's need just not to be over the system, make
parse method in consistent state with this behaviour.
Signed-off-by: 's avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent e2f6bb83
...@@ -39,7 +39,6 @@ LIST_HEAD(binfmt_misc_list); ...@@ -39,7 +39,6 @@ LIST_HEAD(binfmt_misc_list);
static int binfmt_misc_parse(struct mount_info *pm) static int binfmt_misc_parse(struct mount_info *pm)
{ {
if (pm->nsid->type == NS_ROOT)
opts.has_binfmt_misc = true; opts.has_binfmt_misc = true;
return 0; return 0;
......
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