mirror of
https://github.com/torvalds/linux.git
synced 2025-10-30 00:06:59 +02:00
ns: drop assert
Otherwise we warn when e.g., no namespaces are configured but the initial namespace for is still around. Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
4055526d35
commit
af075603f2
1 changed files with 0 additions and 2 deletions
|
|
@ -46,8 +46,6 @@ static void ns_debug(struct ns_common *ns, const struct proc_ns_operations *ops)
|
||||||
VFS_WARN_ON_ONCE(ops != &utsns_operations);
|
VFS_WARN_ON_ONCE(ops != &utsns_operations);
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
default:
|
|
||||||
VFS_WARN_ON_ONCE(true);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue