ve0 doesn't exist when !CONFIG_VE. https://virtuozzo.atlassian.net/browse/VSTOR-130116
Feature: !CONFIG_VE build Signed-off-by: Vladimir Riabchun <[email protected]> --- fs/coredump.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/coredump.c b/fs/coredump.c index fed2436cc846..720fec759978 100644 --- a/fs/coredump.c +++ b/fs/coredump.c @@ -1013,7 +1013,9 @@ static struct ctl_table coredump_sysctls[] = { }, { .procname = "core_pattern", +#ifdef CONFIG_VE .data = ve0.core_pattern, +#endif .maxlen = CORENAME_MAX_SIZE, .mode = 0644 | S_ISVTX, .proc_handler = proc_dostring_coredump_virtual, -- 2.47.1 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
