[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/lm_interface.h b/fs/gfs2/lm_interface.h
index 9d34bf3..1da95a5 100644
--- a/fs/gfs2/lm_interface.h
+++ b/fs/gfs2/lm_interface.h
@@ -265,16 +265,11 @@
/*
* Lock module bottom interface. A lock module makes itself available to GFS
* with these functions.
- *
- * For the time being, we copy the gfs1 lock module bottom interface so the
- * same lock modules can be used with both gfs1 and gfs2 (it won't be possible
- * to load both gfs1 and gfs2 at once.) Eventually the lock modules will fork
- * for gfs1/gfs2 and this API can change to the gfs2_ prefix.
*/
-int gfs_register_lockproto(struct lm_lockops *proto);
+int gfs2_register_lockproto(struct lm_lockops *proto);
-void gfs_unregister_lockproto(struct lm_lockops *proto);
+void gfs2_unregister_lockproto(struct lm_lockops *proto);
/*
* Lock module top interface. GFS calls these functions when mounting or