mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-04 15:53:44 +00:00
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: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
parent
e2f6bb831a
commit
9c4744d67d
1 changed files with 1 additions and 2 deletions
|
|
@ -39,8 +39,7 @@ LIST_HEAD(binfmt_misc_list);
|
|||
|
||||
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;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue