aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/lm_interface.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-08-04 14:14:50 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-08-07 08:46:19 -0400
commit3120ec541eafc6ed19bacb395adf08c5872143bf (patch)
treeb43b9552aa7814b45473c2da85a0b814bc562b49 /fs/gfs2/lm_interface.h
parent59a1cc6bdabf5ed148b48808ad1a418d87f5e6bf (diff)
[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>
Diffstat (limited to 'fs/gfs2/lm_interface.h')
-rw-r--r--fs/gfs2/lm_interface.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/fs/gfs2/lm_interface.h b/fs/gfs2/lm_interface.h
index 9d34bf3df103..1da95a55f768 100644
--- a/fs/gfs2/lm_interface.h
+++ b/fs/gfs2/lm_interface.h
@@ -265,16 +265,11 @@ void __init gfs2_init_lmh(void);
265/* 265/*
266 * Lock module bottom interface. A lock module makes itself available to GFS 266 * Lock module bottom interface. A lock module makes itself available to GFS
267 * with these functions. 267 * with these functions.
268 *
269 * For the time being, we copy the gfs1 lock module bottom interface so the
270 * same lock modules can be used with both gfs1 and gfs2 (it won't be possible
271 * to load both gfs1 and gfs2 at once.) Eventually the lock modules will fork
272 * for gfs1/gfs2 and this API can change to the gfs2_ prefix.
273 */ 268 */
274 269
275int gfs_register_lockproto(struct lm_lockops *proto); 270int gfs2_register_lockproto(struct lm_lockops *proto);
276 271
277void gfs_unregister_lockproto(struct lm_lockops *proto); 272void gfs2_unregister_lockproto(struct lm_lockops *proto);
278 273
279/* 274/*
280 * Lock module top interface. GFS calls these functions when mounting or 275 * Lock module top interface. GFS calls these functions when mounting or