[GFS2] lockproto api prefix
Use the gfs2_ prefix on the register/unregister functions for the lock
modules. The gfs_ prefix was left from an old idea on how to share these
with gfs1.
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
diff --git a/fs/gfs2/locking/nolock/main.c b/fs/gfs2/locking/nolock/main.c
index 97ffac5..748aa5d 100644
--- a/fs/gfs2/locking/nolock/main.c
+++ b/fs/gfs2/locking/nolock/main.c
@@ -233,7 +233,7 @@
{
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 void __exit exit_nolock(void)
{
- gfs_unregister_lockproto(&nolock_ops);
+ gfs2_unregister_lockproto(&nolock_ops);
}
module_init(init_nolock);