2016-12-05 14:43:22 +00:00
|
|
|
diff -Nupr src.orig/fs/nfsd/export.c src/fs/nfsd/export.c
|
2017-11-27 19:14:24 +00:00
|
|
|
--- src.orig/fs/nfsd/export.c 2017-11-17 15:58:26.667211972 -0500
|
|
|
|
+++ src/fs/nfsd/export.c 2017-11-17 15:59:26.338211972 -0500
|
|
|
|
@@ -1194,6 +1194,8 @@ static void exp_flags(struct seq_file *m
|
2014-10-04 02:47:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
+extern char *kpatch_string(void);
|
|
|
|
+
|
|
|
|
static int e_show(struct seq_file *m, void *p)
|
|
|
|
{
|
|
|
|
struct cache_head *cp = p;
|
2017-11-27 19:14:24 +00:00
|
|
|
@@ -1203,6 +1205,7 @@ static int e_show(struct seq_file *m, vo
|
2014-10-04 02:47:35 +00:00
|
|
|
if (p == SEQ_START_TOKEN) {
|
|
|
|
seq_puts(m, "# Version 1.1\n");
|
|
|
|
seq_puts(m, "# Path Client(Flags) # IPs\n");
|
|
|
|
+ seq_puts(m, kpatch_string());
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2016-12-05 14:43:22 +00:00
|
|
|
diff -Nupr src.orig/net/netlink/af_netlink.c src/net/netlink/af_netlink.c
|
2017-11-27 19:14:24 +00:00
|
|
|
--- src.orig/net/netlink/af_netlink.c 2017-11-17 15:58:49.333211972 -0500
|
|
|
|
+++ src/net/netlink/af_netlink.c 2017-11-17 15:59:26.338211972 -0500
|
|
|
|
@@ -2739,4 +2739,9 @@ panic:
|
2014-10-04 02:47:35 +00:00
|
|
|
panic("netlink_init: Cannot allocate nl_table\n");
|
|
|
|
}
|
|
|
|
|
|
|
|
+char *kpatch_string(void)
|
|
|
|
+{
|
|
|
|
+ return "# kpatch\n";
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
core_initcall(netlink_proto_init);
|