kpatch/test/integration/ubuntu-16.04/meminfo-init-FAIL.patch

12 lines
385 B
Diff
Raw Normal View History

diff -Nupr src.orig/fs/proc/meminfo.c src/fs/proc/meminfo.c
--- src.orig/fs/proc/meminfo.c 2016-12-15 19:55:39.084000000 +0000
+++ src/fs/proc/meminfo.c 2016-12-15 19:57:22.564000000 +0000
@@ -193,6 +193,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;
}