aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/root.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/root.c')
-rw-r--r--fs/proc/root.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c
index cc46fcba8029..596abb690afa 100644
--- a/fs/proc/root.c
+++ b/fs/proc/root.c
@@ -22,7 +22,7 @@
22 22
23#include "internal.h" 23#include "internal.h"
24 24
25struct proc_dir_entry *proc_root_fs, *proc_root_driver; 25struct proc_dir_entry *proc_root_driver;
26 26
27static int proc_test_super(struct super_block *sb, void *data) 27static int proc_test_super(struct super_block *sb, void *data)
28{ 28{
@@ -126,7 +126,7 @@ void __init proc_root_init(void)
126#ifdef CONFIG_SYSVIPC 126#ifdef CONFIG_SYSVIPC
127 proc_mkdir("sysvipc", NULL); 127 proc_mkdir("sysvipc", NULL);
128#endif 128#endif
129 proc_root_fs = proc_mkdir("fs", NULL); 129 proc_mkdir("fs", NULL);
130 proc_root_driver = proc_mkdir("driver", NULL); 130 proc_root_driver = proc_mkdir("driver", NULL);
131 proc_mkdir("fs/nfsd", NULL); /* somewhere for the nfsd filesystem to be mounted */ 131 proc_mkdir("fs/nfsd", NULL); /* somewhere for the nfsd filesystem to be mounted */
132#if defined(CONFIG_SUN_OPENPROMFS) || defined(CONFIG_SUN_OPENPROMFS_MODULE) 132#if defined(CONFIG_SUN_OPENPROMFS) || defined(CONFIG_SUN_OPENPROMFS_MODULE)
@@ -235,5 +235,4 @@ EXPORT_SYMBOL(create_proc_entry);
235EXPORT_SYMBOL(proc_create); 235EXPORT_SYMBOL(proc_create);
236EXPORT_SYMBOL(remove_proc_entry); 236EXPORT_SYMBOL(remove_proc_entry);
237EXPORT_SYMBOL(proc_root); 237EXPORT_SYMBOL(proc_root);
238EXPORT_SYMBOL(proc_root_fs);
239EXPORT_SYMBOL(proc_root_driver); 238EXPORT_SYMBOL(proc_root_driver);