diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-04-29 01:01:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 08:06:18 -0700 |
commit | 36a5aeb8787fbf92510ed20d806e229c55726f93 (patch) | |
tree | 7e6efd56b357a3f66a72b3e0d7540116214db338 /fs/jfs/jfs_debug.c | |
parent | 9c37066d888bf6e1b96ad12304971b3ddeabbad0 (diff) | |
download | op-kernel-dev-36a5aeb8787fbf92510ed20d806e229c55726f93.zip op-kernel-dev-36a5aeb8787fbf92510ed20d806e229c55726f93.tar.gz |
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/jfs/jfs_debug.c')
-rw-r--r-- | fs/jfs/jfs_debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jfs/jfs_debug.c b/fs/jfs/jfs_debug.c index 887f575..bf6ab19 100644 --- a/fs/jfs/jfs_debug.c +++ b/fs/jfs/jfs_debug.c @@ -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); } } |