Blob Blame History Raw
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c
index a1143f7..950403a 100644
--- a/fs/nfsd/export.c
+++ b/fs/nfsd/export.c
@@ -1196,6 +1196,8 @@ static void exp_flags(struct seq_file *m, int flag, int fsid,
 	}
 }
 
+extern char *kpatch_string(void);
+
 static int e_show(struct seq_file *m, void *p)
 {
 	struct cache_head *cp = p;
@@ -1205,6 +1207,7 @@ static int e_show(struct seq_file *m, void *p)
 	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;
 	}
 
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index 56704d9..851d41d 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -2779,4 +2779,9 @@ static int __init netlink_proto_init(void)
 	panic("netlink_init: Cannot allocate nl_table\n");
 }
 
+char *kpatch_string(void)
+{
+	return "# kpatch\n";
+}
+
 core_initcall(netlink_proto_init);