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>
This commit is contained in:
parent
8c52d509e8
commit
b3c981d2bb
net/core
|
@ -469,10 +469,10 @@ EXPORT_SYMBOL_GPL(register_pernet_subsys);
|
||||||
* addition run the exit method for all existing network
|
* addition run the exit method for all existing network
|
||||||
* namespaces.
|
* namespaces.
|
||||||
*/
|
*/
|
||||||
void unregister_pernet_subsys(struct pernet_operations *module)
|
void unregister_pernet_subsys(struct pernet_operations *ops)
|
||||||
{
|
{
|
||||||
mutex_lock(&net_mutex);
|
mutex_lock(&net_mutex);
|
||||||
unregister_pernet_operations(module);
|
unregister_pernet_operations(ops);
|
||||||
mutex_unlock(&net_mutex);
|
mutex_unlock(&net_mutex);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(unregister_pernet_subsys);
|
EXPORT_SYMBOL_GPL(unregister_pernet_subsys);
|
||||||
|
|
Loading…
Reference in New Issue