aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/locking/nolock/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/locking/nolock/main.c')
-rw-r--r--fs/gfs2/locking/nolock/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/locking/nolock/main.c b/fs/gfs2/locking/nolock/main.c
index 97ffac5cdef..748aa5d3364 100644
--- a/fs/gfs2/locking/nolock/main.c
+++ b/fs/gfs2/locking/nolock/main.c
@@ -233,7 +233,7 @@ static int __init init_nolock(void)
{
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);
@@ -247,7 +247,7 @@ static int __init init_nolock(void)
static void __exit exit_nolock(void)
{
- gfs_unregister_lockproto(&nolock_ops);
+ gfs2_unregister_lockproto(&nolock_ops);
}
module_init(init_nolock);