aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/locking/nolock/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/locking/nolock/main.c')
-rw-r--r--fs/gfs2/locking/nolock/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/gfs2/locking/nolock/main.c b/fs/gfs2/locking/nolock/main.c
index ecd37371eba5..97ffac5cdefb 100644
--- a/fs/gfs2/locking/nolock/main.c
+++ b/fs/gfs2/locking/nolock/main.c
@@ -21,7 +21,7 @@ struct nolock_lockspace {
21 unsigned int nl_lvb_size; 21 unsigned int nl_lvb_size;
22}; 22};
23 23
24struct lm_lockops nolock_ops; 24static struct lm_lockops nolock_ops;
25 25
26static int nolock_mount(char *table_name, char *host_data, 26static int nolock_mount(char *table_name, char *host_data,
27 lm_callback_t cb, lm_fsdata_t *fsdata, 27 lm_callback_t cb, lm_fsdata_t *fsdata,
@@ -208,7 +208,7 @@ static void nolock_recovery_done(lm_lockspace_t *lockspace, unsigned int jid,
208{ 208{
209} 209}
210 210
211struct lm_lockops nolock_ops = { 211static struct lm_lockops nolock_ops = {
212 .lm_proto_name = "lock_nolock", 212 .lm_proto_name = "lock_nolock",
213 .lm_mount = nolock_mount, 213 .lm_mount = nolock_mount,
214 .lm_others_may_mount = nolock_others_may_mount, 214 .lm_others_may_mount = nolock_others_may_mount,
@@ -229,7 +229,7 @@ struct lm_lockops nolock_ops = {
229 .lm_owner = THIS_MODULE, 229 .lm_owner = THIS_MODULE,
230}; 230};
231 231
232int __init init_nolock(void) 232static int __init init_nolock(void)
233{ 233{
234 int error; 234 int error;
235 235
@@ -245,7 +245,7 @@ int __init init_nolock(void)
245 return 0; 245 return 0;
246} 246}
247 247
248void __exit exit_nolock(void) 248static void __exit exit_nolock(void)
249{ 249{
250 gfs_unregister_lockproto(&nolock_ops); 250 gfs_unregister_lockproto(&nolock_ops);
251} 251}