diff options
Diffstat (limited to 'fs/ocfs2/cluster/nodemanager.c')
-rw-r--r-- | fs/ocfs2/cluster/nodemanager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ocfs2/cluster/nodemanager.c b/fs/ocfs2/cluster/nodemanager.c index b17333a0606b..9f5ad0f01ce0 100644 --- a/fs/ocfs2/cluster/nodemanager.c +++ b/fs/ocfs2/cluster/nodemanager.c | |||
@@ -55,7 +55,7 @@ static ctl_table ocfs2_nm_table[] = { | |||
55 | 55 | ||
56 | static ctl_table ocfs2_mod_table[] = { | 56 | static ctl_table ocfs2_mod_table[] = { |
57 | { | 57 | { |
58 | .ctl_name = KERN_OCFS2_NM, | 58 | .ctl_name = FS_OCFS2_NM, |
59 | .procname = "nm", | 59 | .procname = "nm", |
60 | .data = NULL, | 60 | .data = NULL, |
61 | .maxlen = 0, | 61 | .maxlen = 0, |
@@ -67,7 +67,7 @@ static ctl_table ocfs2_mod_table[] = { | |||
67 | 67 | ||
68 | static ctl_table ocfs2_kern_table[] = { | 68 | static ctl_table ocfs2_kern_table[] = { |
69 | { | 69 | { |
70 | .ctl_name = KERN_OCFS2, | 70 | .ctl_name = FS_OCFS2, |
71 | .procname = "ocfs2", | 71 | .procname = "ocfs2", |
72 | .data = NULL, | 72 | .data = NULL, |
73 | .maxlen = 0, | 73 | .maxlen = 0, |
@@ -922,7 +922,7 @@ static int __init init_o2nm(void) | |||
922 | o2hb_init(); | 922 | o2hb_init(); |
923 | o2net_init(); | 923 | o2net_init(); |
924 | 924 | ||
925 | ocfs2_table_header = register_sysctl_table(ocfs2_root_table, 0); | 925 | ocfs2_table_header = register_sysctl_table(ocfs2_root_table); |
926 | if (!ocfs2_table_header) { | 926 | if (!ocfs2_table_header) { |
927 | printk(KERN_ERR "nodemanager: unable to register sysctl\n"); | 927 | printk(KERN_ERR "nodemanager: unable to register sysctl\n"); |
928 | ret = -ENOMEM; /* or something. */ | 928 | ret = -ENOMEM; /* or something. */ |