mirror of
https://github.com/dynup/kpatch
synced 2025-02-16 17:57:02 +00:00
Rebase the integration testcase on top of RHEL 8.1 kernel 4.18.0-147.el8. Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
25 lines
610 B
Plaintext
25 lines
610 B
Plaintext
Disabled due to https:/github.com/dynup/kpatch/issues/940
|
|
---
|
|
diff -Nupr src/fs/aio.c src/fs/aio.c
|
|
--- src/fs/aio.c 2020-03-11 11:23:24.150540895 +0000
|
|
+++ src/fs/aio.c 2020-03-11 11:45:44.710769201 +0000
|
|
@@ -251,11 +251,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);
|
|
|