netns: rename unregister_pernet_subsys parameter
authorJiri Pirko <jpirko@redhat.com>
Sun, 25 Apr 2010 07:49:56 +0000 (00:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Apr 2010 07:49:56 +0000 (00:49 -0700)
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>
net/core/net_namespace.c

index bd8c4712ea247582f885203960db9bd7a2a310ce..69a20bfc527c56d296a7ac140729beafd3d188b4 100644 (file)
@@ -469,10 +469,10 @@ EXPORT_SYMBOL_GPL(register_pernet_subsys);
  *     addition run the exit method for all existing network
  *     namespaces.
  */
-void unregister_pernet_subsys(struct pernet_operations *module)
+void unregister_pernet_subsys(struct pernet_operations *ops)
 {
        mutex_lock(&net_mutex);
-       unregister_pernet_operations(module);
+       unregister_pernet_operations(ops);
        mutex_unlock(&net_mutex);
 }
 EXPORT_SYMBOL_GPL(unregister_pernet_subsys);