diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-26 16:00:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-27 11:01:36 -0500 |
commit | 25354866e03d416ad0e9395ce46d38912ddcae87 (patch) | |
tree | b6444e9a30707a6db4effaf43727af7c2d03041f /drivers/infiniband/core/cma.c | |
parent | 02df428ca291f20285f04c25a7efd664a5d83551 (diff) |
net: Convert cma_pernet_operations
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>
Diffstat (limited to 'drivers/infiniband/core/cma.c')
-rw-r--r-- | drivers/infiniband/core/cma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index e66963ca58bd..3ae32d1ddd27 100644 --- a/drivers/infiniband/core/cma.c +++ b/drivers/infiniband/core/cma.c @@ -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) |