*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU General Public License v.2.
+ * of the GNU General Public License version 2.
*/
#include <linux/module.h>
{
int error;
- error = gfs_register_lockproto(&nolock_ops);
+ error = gfs2_register_lockproto(&nolock_ops);
if (error) {
printk(KERN_WARNING
"lock_nolock: can't register protocol: %d\n", error);
static void __exit exit_nolock(void)
{
- gfs_unregister_lockproto(&nolock_ops);
+ gfs2_unregister_lockproto(&nolock_ops);
}
module_init(init_nolock);