Commit 25354866 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller

net: Convert cma_pernet_operations

These pernet_operations just create and destroy IDR.
So, we mark them as async.
Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 02df428c
...@@ -4549,6 +4549,7 @@ static struct pernet_operations cma_pernet_operations = { ...@@ -4549,6 +4549,7 @@ static struct pernet_operations cma_pernet_operations = {
.exit = cma_exit_net, .exit = cma_exit_net,
.id = &cma_pernet_id, .id = &cma_pernet_id,
.size = sizeof(struct cma_pernet), .size = sizeof(struct cma_pernet),
.async = true,
}; };
static int __init cma_init(void) static int __init cma_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment