mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
proc: remove proc_root_fs
Use creation by full path instead: "fs/foo". Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
9c37066d88
commit
36a5aeb878
6 changed files with 12 additions and 15 deletions
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include "internal.h"
|
||||
|
||||
struct proc_dir_entry *proc_root_fs, *proc_root_driver;
|
||||
struct proc_dir_entry *proc_root_driver;
|
||||
|
||||
static int proc_test_super(struct super_block *sb, void *data)
|
||||
{
|
||||
|
|
@ -126,7 +126,7 @@ void __init proc_root_init(void)
|
|||
#ifdef CONFIG_SYSVIPC
|
||||
proc_mkdir("sysvipc", NULL);
|
||||
#endif
|
||||
proc_root_fs = proc_mkdir("fs", NULL);
|
||||
proc_mkdir("fs", NULL);
|
||||
proc_root_driver = proc_mkdir("driver", NULL);
|
||||
proc_mkdir("fs/nfsd", NULL); /* somewhere for the nfsd filesystem to be mounted */
|
||||
#if defined(CONFIG_SUN_OPENPROMFS) || defined(CONFIG_SUN_OPENPROMFS_MODULE)
|
||||
|
|
@ -235,5 +235,4 @@ EXPORT_SYMBOL(create_proc_entry);
|
|||
EXPORT_SYMBOL(proc_create);
|
||||
EXPORT_SYMBOL(remove_proc_entry);
|
||||
EXPORT_SYMBOL(proc_root);
|
||||
EXPORT_SYMBOL(proc_root_fs);
|
||||
EXPORT_SYMBOL(proc_root_driver);
|
||||
|
|
|
|||
Loading…
Reference in a new issue