kpatch/test/integration/rhel-7.4/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 2017-09-22 15:27:21.699056179 -0400
+++ src/fs/proc/meminfo.c 2017-09-22 15:27:40.130132502 -0400
@@ -191,6 +191,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;
}