The commit is pushed to "branch-rh9-5.14.0-425.vz9.60.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-425.vz9.60.5 ------> commit 9ee39aa629efba0b66118cc1d21ca6a4d8e4361c Author: Konstantin Khorenko <khore...@virtuozzo.com> Date: Wed Jun 19 11:02:06 2024 +0300
fs/sysctl: use fs_initcall for fs related sysctls early_initcall is much too early. switch to fs_initcall style like other files are registered in /proc/sys/fs. https://virtuozzo.atlassian.net/browse/PSBM-156472 Signed-off-by: Alexander Atanasov <alexander.atana...@virtuozzo.com> Feature: fix ms/fs --- fs/sysctls.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/sysctls.c b/fs/sysctls.c index 5d8a5c6ef51a..990e8ac634c1 100644 --- a/fs/sysctls.c +++ b/fs/sysctls.c @@ -38,11 +38,10 @@ static struct ctl_table fs_shared_sysctls[] = { { } }; -DECLARE_SYSCTL_BASE(fs, fs_shared_sysctls); - static int __init init_fs_sysctls(void) { - return register_sysctl_base(fs); + register_sysctl_init("fs", fs_shared_sysctls); + return 0; } -early_initcall(init_fs_sysctls); +fs_initcall(init_fs_sysctls); _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel