Skip to content

Commit b3c981d

Browse files
Jiri Pirkodavem330
authored andcommitted
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>
1 parent 8c52d50 commit b3c981d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎net/core/net_namespace.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,10 +469,10 @@ EXPORT_SYMBOL_GPL(register_pernet_subsys);
469469
* addition run the exit method for all existing network
470470
* namespaces.
471471
*/
472-
void unregister_pernet_subsys(struct pernet_operations *module)
472+
void unregister_pernet_subsys(struct pernet_operations *ops)
473473
{
474474
mutex_lock(&net_mutex);
475-
unregister_pernet_operations(module);
475+
unregister_pernet_operations(ops);
476476
mutex_unlock(&net_mutex);
477477
}
478478
EXPORT_SYMBOL_GPL(unregister_pernet_subsys);

0 commit comments

Comments
 (0)