aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-04-29 04:01:42 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 11:06:18 -0400
commit36a5aeb8787fbf92510ed20d806e229c55726f93 (patch)
tree7e6efd56b357a3f66a72b3e0d7540116214db338 /fs/proc
parent9c37066d888bf6e1b96ad12304971b3ddeabbad0 (diff)
proc: remove proc_root_fs
Use creation by full path instead: "fs/foo". Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc')
-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);