2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
7 * of the GNU General Public License version 2.
10 #include <linux/init.h>
14 static int __init
init_lock_dlm(void)
18 error
= gfs2_register_lockproto(&gdlm_ops
);
20 printk(KERN_WARNING
"lock_dlm: can't register protocol: %d\n",
25 error
= gdlm_sysfs_init();
27 gfs2_unregister_lockproto(&gdlm_ops
);
32 "Lock_DLM (built %s %s) installed\n", __DATE__
, __TIME__
);
36 static void __exit
exit_lock_dlm(void)
39 gfs2_unregister_lockproto(&gdlm_ops
);
42 module_init(init_lock_dlm
);
43 module_exit(exit_lock_dlm
);
45 MODULE_DESCRIPTION("GFS DLM Locking Module");
46 MODULE_AUTHOR("Red Hat, Inc.");
47 MODULE_LICENSE("GPL");