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

20 lines
546 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:18.240000000 +0000
@@ -32,6 +32,7 @@ static int meminfo_proc_show(struct seq_
unsigned long pages[NR_LRU_LISTS];
int lru;
+ printk("a\n");
/*
* display in kilobytes.
*/
@@ -193,6 +194,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;
}