diff options
author | David Teigland <teigland@redhat.com> | 2006-08-04 14:14:50 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-08-07 08:46:19 -0400 |
commit | 3120ec541eafc6ed19bacb395adf08c5872143bf (patch) | |
tree | b43b9552aa7814b45473c2da85a0b814bc562b49 /fs/gfs2/locking/nolock | |
parent | 59a1cc6bdabf5ed148b48808ad1a418d87f5e6bf (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/locking/nolock')
-rw-r--r-- | fs/gfs2/locking/nolock/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/locking/nolock/main.c b/fs/gfs2/locking/nolock/main.c index 97ffac5cdefb..748aa5d33641 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) | |||
233 | { | 233 | { |
234 | int error; | 234 | int error; |
235 | 235 | ||
236 | error = gfs_register_lockproto(&nolock_ops); | 236 | error = gfs2_register_lockproto(&nolock_ops); |
237 | if (error) { | 237 | if (error) { |
238 | printk(KERN_WARNING | 238 | printk(KERN_WARNING |
239 | "lock_nolock: can't register protocol: %d\n", error); | 239 | "lock_nolock: can't register protocol: %d\n", error); |
@@ -247,7 +247,7 @@ static int __init init_nolock(void) | |||
247 | 247 | ||
248 | static void __exit exit_nolock(void) | 248 | static void __exit exit_nolock(void) |
249 | { | 249 | { |
250 | gfs_unregister_lockproto(&nolock_ops); | 250 | gfs2_unregister_lockproto(&nolock_ops); |
251 | } | 251 | } |
252 | 252 | ||
253 | module_init(init_nolock); | 253 | module_init(init_nolock); |