]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - kernel/ucount.c
kernel/ucount.c: mark user_header with kmemleak_ignore()
[mirror_ubuntu-bionic-kernel.git] / kernel / ucount.c
index 4bbd38ec37886d3d104e3d37dc80d101ab3767ac..95c6336fc2b33c6ea47611e9f9974d8521bc08fc 100644 (file)
@@ -227,11 +227,10 @@ static __init int user_namespace_sysctl_init(void)
         * properly.
         */
        user_header = register_sysctl("user", empty);
+       kmemleak_ignore(user_header);
        BUG_ON(!user_header);
        BUG_ON(!setup_userns_sysctls(&init_user_ns));
 #endif
        return 0;
 }
 subsys_initcall(user_namespace_sysctl_init);
-
-