|
@@ -22,8 +22,6 @@
|
|
|
|
|
|
#include "internal.h"
|
|
#include "internal.h"
|
|
|
|
|
|
-struct proc_dir_entry *proc_root_driver;
|
|
|
|
-
|
|
|
|
static int proc_test_super(struct super_block *sb, void *data)
|
|
static int proc_test_super(struct super_block *sb, void *data)
|
|
{
|
|
{
|
|
return sb->s_fs_info == data;
|
|
return sb->s_fs_info == data;
|
|
@@ -127,7 +125,7 @@ void __init proc_root_init(void)
|
|
proc_mkdir("sysvipc", NULL);
|
|
proc_mkdir("sysvipc", NULL);
|
|
#endif
|
|
#endif
|
|
proc_mkdir("fs", NULL);
|
|
proc_mkdir("fs", NULL);
|
|
- proc_root_driver = proc_mkdir("driver", NULL);
|
|
|
|
|
|
+ proc_mkdir("driver", NULL);
|
|
proc_mkdir("fs/nfsd", NULL); /* somewhere for the nfsd filesystem to be mounted */
|
|
proc_mkdir("fs/nfsd", NULL); /* somewhere for the nfsd filesystem to be mounted */
|
|
#if defined(CONFIG_SUN_OPENPROMFS) || defined(CONFIG_SUN_OPENPROMFS_MODULE)
|
|
#if defined(CONFIG_SUN_OPENPROMFS) || defined(CONFIG_SUN_OPENPROMFS_MODULE)
|
|
/* just give it a mountpoint */
|
|
/* just give it a mountpoint */
|
|
@@ -235,4 +233,3 @@ EXPORT_SYMBOL(create_proc_entry);
|
|
EXPORT_SYMBOL(proc_create);
|
|
EXPORT_SYMBOL(proc_create);
|
|
EXPORT_SYMBOL(remove_proc_entry);
|
|
EXPORT_SYMBOL(remove_proc_entry);
|
|
EXPORT_SYMBOL(proc_root);
|
|
EXPORT_SYMBOL(proc_root);
|
|
-EXPORT_SYMBOL(proc_root_driver);
|
|
|