]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/aio.c
Merge branches 'acpi-ec' and 'acpi-platform'
[karo-tx-linux.git] / fs / aio.c
index 733750096b71b38d23783926b4f85da9ac2d35ea..84a751005f5b8ad0f0f5cd6e3c5ec67df5f7440c 100644 (file)
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -661,10 +661,10 @@ static struct kioctx *ioctx_alloc(unsigned nr_events)
 
        INIT_LIST_HEAD(&ctx->active_reqs);
 
-       if (percpu_ref_init(&ctx->users, free_ioctx_users))
+       if (percpu_ref_init(&ctx->users, free_ioctx_users, 0, GFP_KERNEL))
                goto err;
 
-       if (percpu_ref_init(&ctx->reqs, free_ioctx_reqs))
+       if (percpu_ref_init(&ctx->reqs, free_ioctx_reqs, 0, GFP_KERNEL))
                goto err;
 
        ctx->cpu = alloc_percpu(struct kioctx_cpu);