Blame test/integration/rhel-8.0/gcc-static-local-var-4.patch.disabled
|
Packit Service |
da4517 |
Disabled due to https://github.com/dynup/kpatch/issues/940
|
|
Packit Service |
da4517 |
---
|
|
Packit Service |
da4517 |
diff --git a/fs/aio.c b/fs/aio.c
|
|
Packit Service |
da4517 |
index e1f8f01..4dfb05c 100644
|
|
Packit Service |
da4517 |
--- a/fs/aio.c
|
|
Packit Service |
da4517 |
+++ b/fs/aio.c
|
|
Packit Service |
da4517 |
@@ -263,11 +263,18 @@ static int __init aio_setup(void)
|
|
Packit Service |
da4517 |
}
|
|
Packit Service |
da4517 |
__initcall(aio_setup);
|
|
Packit Service |
da4517 |
|
|
Packit Service |
da4517 |
+void kpatch_aio_foo(void)
|
|
Packit Service |
da4517 |
+{
|
|
Packit Service |
da4517 |
+ if (!jiffies)
|
|
Packit Service |
da4517 |
+ printk("kpatch aio foo\n");
|
|
Packit Service |
da4517 |
+}
|
|
Packit Service |
da4517 |
+
|
|
Packit Service |
da4517 |
static void put_aio_ring_file(struct kioctx *ctx)
|
|
Packit Service |
da4517 |
{
|
|
Packit Service |
da4517 |
struct file *aio_ring_file = ctx->aio_ring_file;
|
|
Packit Service |
da4517 |
struct address_space *i_mapping;
|
|
Packit Service |
da4517 |
|
|
Packit Service |
da4517 |
+ kpatch_aio_foo();
|
|
Packit Service |
da4517 |
if (aio_ring_file) {
|
|
Packit Service |
da4517 |
truncate_setsize(file_inode(aio_ring_file), 0);
|
|
Packit Service |
da4517 |
|