summaryrefslogtreecommitdiffstats
path: root/fs/dlm/netlink.c
diff options
context:
space:
mode:
authorLeonardo Potenza <lpotenza@inwind.it>2008-05-11 19:15:34 +0200
committerDavid Teigland <teigland@redhat.com>2008-05-19 15:37:27 -0500
commit88ad23195e4609cef73b6fcf2b4c08aaaef33204 (patch)
tree744a3c9a990930236d175606afdfb331c3a0aabe /fs/dlm/netlink.c
parent7a936ce71eed7b887b8a0d6c54dd8a9072f71c9f (diff)
downloadblackbird-op-linux-88ad23195e4609cef73b6fcf2b4c08aaaef33204.tar.gz
blackbird-op-linux-88ad23195e4609cef73b6fcf2b4c08aaaef33204.zip
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: Leonardo Potenza <lpotenza@inwind.it> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/netlink.c')
-rw-r--r--fs/dlm/netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/netlink.c b/fs/dlm/netlink.c
index 714593621f4f..18bda83cc892 100644
--- a/fs/dlm/netlink.c
+++ b/fs/dlm/netlink.c
@@ -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);
OpenPOWER on IntegriCloud