提交 25354866 编写于 作者: K Kirill Tkhai 提交者: 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: NKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册