diff options
author | Leonardo Potenza <lpotenza@inwind.it> | 2008-05-11 19:15:34 +0200 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-05-19 15:37:27 -0500 |
commit | 88ad23195e4609cef73b6fcf2b4c08aaaef33204 (patch) | |
tree | 744a3c9a990930236d175606afdfb331c3a0aabe /fs | |
parent | 7a936ce71eed7b887b8a0d6c54dd8a9072f71c9f (diff) | |
download | lwn-88ad23195e4609cef73b6fcf2b4c08aaaef33204.tar.gz lwn-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')
-rw-r--r-- | fs/dlm/netlink.c | 2 |
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); |