Skip to content

Commit

Permalink
dlm: section mismatch warning fix
Browse files Browse the repository at this point in the history
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: Leonardo Potenza <lpotenza@inwind.it>
Signed-off-by: David Teigland <teigland@redhat.com>
  • Loading branch information
Leonardo Potenza authored and David Teigland committed May 19, 2008
1 parent 7a936ce commit 88ad231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/dlm/netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 88ad231

Please sign in to comment.