projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02df428
)
net: Convert cma_pernet_operations
author
Kirill Tkhai
<ktkhai@virtuozzo.com>
Mon, 26 Feb 2018 13:00:12 +0000
(16:00 +0300)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/infiniband/core/cma.c
b/drivers/infiniband/core/cma.c
index e66963ca58bddaf02813c4e080f48ad4cf18be00..3ae32d1ddd27b182a1251116f8406a5b86a23b3e 100644
(file)
--- 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)