mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -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
|
|
@ -89,7 +89,7 @@ void jfs_proc_init(void)
|
|||
{
|
||||
int i;
|
||||
|
||||
if (!(base = proc_mkdir("jfs", proc_root_fs)))
|
||||
if (!(base = proc_mkdir("fs/jfs", NULL)))
|
||||
return;
|
||||
base->owner = THIS_MODULE;
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ void jfs_proc_clean(void)
|
|||
if (base) {
|
||||
for (i = 0; i < NPROCENT; i++)
|
||||
remove_proc_entry(Entries[i].name, base);
|
||||
remove_proc_entry("jfs", proc_root_fs);
|
||||
remove_proc_entry("fs/jfs", NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue