Commit 88ad2319 authored by Leonardo Potenza's avatar Leonardo Potenza Committed by David Teigland

dlm: section mismatch warning fix

Removed the section mismatch message:
WARNING: fs/dlm/dlm.o(.init.text+0x132): Section mismatch in reference from the function init_module() to the function .exit.text:dlm_netlink_exit()

Since dlm_netlink_exit() is called in the init_dlm() error handling,
the __exit annotation has been removed.
Signed-off-by: default avatarLeonardo Potenza <lpotenza@inwind.it>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent 7a936ce7
......@@ -95,7 +95,7 @@ int __init dlm_netlink_init(void)
return rv;
}
void __exit dlm_netlink_exit(void)
void dlm_netlink_exit(void)
{
genl_unregister_ops(&family, &dlm_nl_ops);
genl_unregister_family(&family);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment