File: gcc-static-local-var-4.patch.disabled

package info (click to toggle)
kpatch 0.9.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,716 kB
  • sloc: ansic: 9,716; sh: 2,592; makefile: 260; asm: 35
file content (25 lines) | stat: -rw-r--r-- 561 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Disabled due to https://github.com/dynup/kpatch/issues/940
---
diff --git a/fs/aio.c b/fs/aio.c
index e1f8f01..4dfb05c 100644
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -263,11 +263,18 @@ static int __init aio_setup(void)
 }
 __initcall(aio_setup);
 
+void kpatch_aio_foo(void)
+{
+	if (!jiffies)
+		printk("kpatch aio foo\n");
+}
+
 static void put_aio_ring_file(struct kioctx *ctx)
 {
 	struct file *aio_ring_file = ctx->aio_ring_file;
 	struct address_space *i_mapping;
 
+	kpatch_aio_foo();
 	if (aio_ring_file) {
 		truncate_setsize(file_inode(aio_ring_file), 0);