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

12 lines
385 B
Diff

diff -Nupr src.orig/fs/proc/meminfo.c src/fs/proc/meminfo.c
--- src.orig/fs/proc/meminfo.c 2020-09-03 11:48:30.497726123 -0400
+++ src/fs/proc/meminfo.c 2020-09-03 11:48:59.106815625 -0400
@@ -202,6 +202,7 @@ static const struct file_operations memi
static int __init proc_meminfo_init(void)
{
+ printk("a\n");
proc_create("meminfo", 0, NULL, &meminfo_proc_fops);
return 0;
}