net: Convert cma_pernet_operations
authorKirill Tkhai <ktkhai@virtuozzo.com>
Mon, 26 Feb 2018 13:00:12 +0000 (16:00 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Feb 2018 16:01:36 +0000 (11:01 -0500)
These pernet_operations just create and destroy IDR.
So, we mark them as async.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/core/cma.c

index e66963ca58bddaf02813c4e080f48ad4cf18be00..3ae32d1ddd27b182a1251116f8406a5b86a23b3e 100644 (file)
@@ -4549,6 +4549,7 @@ static struct pernet_operations cma_pernet_operations = {
        .exit = cma_exit_net,
        .id = &cma_pernet_id,
        .size = sizeof(struct cma_pernet),
+       .async = true,
 };
 
 static int __init cma_init(void)