There is a big number of net->owner_ve, that are not covered by ifdef guard, so it is actually easier to have this field when !CONFIG_VE and store NULL there.
https://virtuozzo.atlassian.net/browse/VSTOR-130116 Feature: !CONFIG_VE build Signed-off-by: Vladimir Riabchun <[email protected]> --- include/net/net_namespace.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index dd0edb96f0ee..5cf615b03da0 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h @@ -120,9 +120,7 @@ struct net { struct net_device *loopback_dev; /* The loopback */ -#ifdef CONFIG_VE struct ve_struct *owner_ve; -#endif /* core fib_rules */ struct list_head rules_ops; -- 2.47.1 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
