kpatch/test/integration/rhel-8.4/meminfo-init-FAIL.patch

12 lines
391 B
Diff

diff -Nupr src.orig/fs/proc/meminfo.c src/fs/proc/meminfo.c
--- src.orig/fs/proc/meminfo.c 2021-04-20 11:04:26.717100594 -0400
+++ src/fs/proc/meminfo.c 2021-04-20 11:05:05.090196873 -0400
@@ -156,6 +156,7 @@ static int meminfo_proc_show(struct seq_
static int __init proc_meminfo_init(void)
{
+ printk("a\n");
proc_create_single("meminfo", 0, NULL, meminfo_proc_show);
return 0;
}