diff options
-rw-r--r-- | fs/gfs2/locking.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/gfs2/locking.c b/fs/gfs2/locking.c index 183192836e98..ded1ef6c81e7 100644 --- a/fs/gfs2/locking.c +++ b/fs/gfs2/locking.c | |||
@@ -31,13 +31,13 @@ static struct list_head lmh_list; | |||
31 | static struct mutex lmh_lock; | 31 | static struct mutex lmh_lock; |
32 | 32 | ||
33 | /** | 33 | /** |
34 | * gfs_register_lockproto - Register a low-level locking protocol | 34 | * gfs2_register_lockproto - Register a low-level locking protocol |
35 | * @proto: the protocol definition | 35 | * @proto: the protocol definition |
36 | * | 36 | * |
37 | * Returns: 0 on success, -EXXX on failure | 37 | * Returns: 0 on success, -EXXX on failure |
38 | */ | 38 | */ |
39 | 39 | ||
40 | int gfs_register_lockproto(struct lm_lockops *proto) | 40 | int gfs2_register_lockproto(struct lm_lockops *proto) |
41 | { | 41 | { |
42 | struct lmh_wrapper *lw; | 42 | struct lmh_wrapper *lw; |
43 | 43 | ||
@@ -67,12 +67,12 @@ int gfs_register_lockproto(struct lm_lockops *proto) | |||
67 | } | 67 | } |
68 | 68 | ||
69 | /** | 69 | /** |
70 | * gfs_unregister_lockproto - Unregister a low-level locking protocol | 70 | * gfs2_unregister_lockproto - Unregister a low-level locking protocol |
71 | * @proto: the protocol definition | 71 | * @proto: the protocol definition |
72 | * | 72 | * |
73 | */ | 73 | */ |
74 | 74 | ||
75 | void gfs_unregister_lockproto(struct lm_lockops *proto) | 75 | void gfs2_unregister_lockproto(struct lm_lockops *proto) |
76 | { | 76 | { |
77 | struct lmh_wrapper *lw; | 77 | struct lmh_wrapper *lw; |
78 | 78 | ||
@@ -117,7 +117,7 @@ int gfs2_mount_lockproto(char *proto_name, char *table_name, char *host_data, | |||
117 | int try = 0; | 117 | int try = 0; |
118 | int error, found; | 118 | int error, found; |
119 | 119 | ||
120 | retry: | 120 | retry: |
121 | mutex_lock(&lmh_lock); | 121 | mutex_lock(&lmh_lock); |
122 | 122 | ||
123 | found = 0; | 123 | found = 0; |
@@ -151,7 +151,7 @@ int gfs2_mount_lockproto(char *proto_name, char *table_name, char *host_data, | |||
151 | min_lvb_size, flags, lockstruct, fskobj); | 151 | min_lvb_size, flags, lockstruct, fskobj); |
152 | if (error) | 152 | if (error) |
153 | module_put(lw->lw_ops->lm_owner); | 153 | module_put(lw->lw_ops->lm_owner); |
154 | out: | 154 | out: |
155 | mutex_unlock(&lmh_lock); | 155 | mutex_unlock(&lmh_lock); |
156 | return error; | 156 | return error; |
157 | } | 157 | } |
@@ -186,6 +186,6 @@ void __init gfs2_init_lmh(void) | |||
186 | INIT_LIST_HEAD(&lmh_list); | 186 | INIT_LIST_HEAD(&lmh_list); |
187 | } | 187 | } |
188 | 188 | ||
189 | EXPORT_SYMBOL_GPL(gfs_register_lockproto); | 189 | EXPORT_SYMBOL_GPL(gfs2_register_lockproto); |
190 | EXPORT_SYMBOL_GPL(gfs_unregister_lockproto); | 190 | EXPORT_SYMBOL_GPL(gfs2_unregister_lockproto); |
191 | 191 | ||