From: Simon Horman Date: Tue, 1 Feb 2011 17:30:26 +0000 (+0100) Subject: IPVS: Remove ip_vs_sync_cleanup from section __exit X-Git-Tag: v2.6.39-rc1~468^2~10^2~58 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed3d1e7b72069a3463b7e227b18cae4a09b0ddad;p=platform%2Fkernel%2Flinux-stable.git IPVS: Remove ip_vs_sync_cleanup from section __exit ip_vs_sync_cleanup() may be called from ip_vs_init() on error and thus needs to be accesible from section __init Reporte-by: Randy Dunlap Signed-off-by: Simon Horman Acked-by: Randy Dunlap Signed-off-by: Hans Schillstrom Tested-by: Hans Schillstrom Signed-off-by: Patrick McHardy --- diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c index d5a6e64..2a2a836 100644 --- a/net/netfilter/ipvs/ip_vs_sync.c +++ b/net/netfilter/ipvs/ip_vs_sync.c @@ -1686,7 +1686,7 @@ int __init ip_vs_sync_init(void) return register_pernet_subsys(&ipvs_sync_ops); } -void __exit ip_vs_sync_cleanup(void) +void ip_vs_sync_cleanup(void) { unregister_pernet_subsys(&ipvs_sync_ops); }