mirror of
https://github.com/dynup/kpatch
synced 2025-02-17 10:16:57 +00:00
This commit contains centos-7 patches rebased and adjusted to work with recent rhel minors so that integration tests actually pass on those. Signed-off-by: Artem Savkov <asavkov@redhat.com>
20 lines
546 B
Diff
20 lines
546 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:38.972127707 -0400
|
|
@@ -30,6 +30,7 @@ static int meminfo_proc_show(struct seq_
|
|
unsigned long pages[NR_LRU_LISTS];
|
|
int lru;
|
|
|
|
+ printk("a\n");
|
|
/*
|
|
* display in kilobytes.
|
|
*/
|
|
@@ -191,6 +192,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;
|
|
}
|