diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-04-25 03:49:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-25 03:49:56 -0400 |
commit | b3c981d2bbbe889125169bd0bb482e64d3c028a1 (patch) | |
tree | 81c5a84c234ae7cd7fb33c0953092237207b254c | |
parent | 8c52d509e84bbf26cffb8b6e75b399689af67885 (diff) |
netns: rename unregister_pernet_subsys parameter
Stay consistent with other functions and with comment also and name
pernet_operations parameter properly.
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/core/net_namespace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index bd8c4712ea24..69a20bfc527c 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c | |||
@@ -469,10 +469,10 @@ EXPORT_SYMBOL_GPL(register_pernet_subsys); | |||
469 | * addition run the exit method for all existing network | 469 | * addition run the exit method for all existing network |
470 | * namespaces. | 470 | * namespaces. |
471 | */ | 471 | */ |
472 | void unregister_pernet_subsys(struct pernet_operations *module) | 472 | void unregister_pernet_subsys(struct pernet_operations *ops) |
473 | { | 473 | { |
474 | mutex_lock(&net_mutex); | 474 | mutex_lock(&net_mutex); |
475 | unregister_pernet_operations(module); | 475 | unregister_pernet_operations(ops); |
476 | mutex_unlock(&net_mutex); | 476 | mutex_unlock(&net_mutex); |
477 | } | 477 | } |
478 | EXPORT_SYMBOL_GPL(unregister_pernet_subsys); | 478 | EXPORT_SYMBOL_GPL(unregister_pernet_subsys); |