Displaying 1 result from an estimated 1 matches for "o2hb_disk_heartbeat_exit".
2006 Feb 21
0
[PATCH 14/14] ocfs2: include disk heartbeat in ocfs2_nodemanager to avoid userspace changes
...)
spin_unlock(&o2hb_live_lock);
}
-static int __init o2hb_disk_heartbeat_init(void)
+int o2hb_disk_heartbeat_init(void)
{
int i;
@@ -1520,14 +1520,10 @@ static int __init o2hb_disk_heartbeat_in
return o2hb_register_heartbeat_group(&disk_heartbeat_group);
}
-static void __exit o2hb_disk_heartbeat_exit(void)
+void o2hb_disk_heartbeat_exit(void)
{
o2hb_unregister_heartbeat_group(&disk_heartbeat_group);
}
MODULE_AUTHOR("Oracle");
MODULE_LICENSE("GPL");
-
-module_init(o2hb_disk_heartbeat_init);
-module_exit(o2hb_disk_heartbeat_exit);
-
diff -ruNpX ../dontdiff linux-2....