diff options
author | David Teigland <teigland@redhat.com> | 2006-08-04 13:14:50 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-08-07 08:46:19 -0400 |
commit | 3120ec541eafc6ed19bacb395adf08c5872143bf (patch) | |
tree | b43b9552aa7814b45473c2da85a0b814bc562b49 /fs/gfs2/locking/dlm/main.c | |
parent | 59a1cc6bdabf5ed148b48808ad1a418d87f5e6bf (diff) | |
download | linux-3120ec541eafc6ed19bacb395adf08c5872143bf.tar.gz linux-3120ec541eafc6ed19bacb395adf08c5872143bf.tar.bz2 linux-3120ec541eafc6ed19bacb395adf08c5872143bf.zip |
[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/locking/dlm/main.c')
-rw-r--r-- | fs/gfs2/locking/dlm/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/gfs2/locking/dlm/main.c b/fs/gfs2/locking/dlm/main.c index 89728c91665f..870a1cd99f57 100644 --- a/fs/gfs2/locking/dlm/main.c +++ b/fs/gfs2/locking/dlm/main.c @@ -20,7 +20,7 @@ static int __init init_lock_dlm(void) { int error; - error = gfs_register_lockproto(&gdlm_ops); + error = gfs2_register_lockproto(&gdlm_ops); if (error) { printk(KERN_WARNING "lock_dlm: can't register protocol: %d\n", error); @@ -29,14 +29,14 @@ static int __init init_lock_dlm(void) error = gdlm_sysfs_init(); if (error) { - gfs_unregister_lockproto(&gdlm_ops); + gfs2_unregister_lockproto(&gdlm_ops); return error; } error = gdlm_plock_init(); if (error) { gdlm_sysfs_exit(); - gfs_unregister_lockproto(&gdlm_ops); + gfs2_unregister_lockproto(&gdlm_ops); return error; } @@ -52,7 +52,7 @@ static void __exit exit_lock_dlm(void) { gdlm_plock_exit(); gdlm_sysfs_exit(); - gfs_unregister_lockproto(&gdlm_ops); + gfs2_unregister_lockproto(&gdlm_ops); } module_init(init_lock_dlm); |