diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-04-29 04:01:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:18 -0400 |
commit | 36a5aeb8787fbf92510ed20d806e229c55726f93 (patch) | |
tree | 7e6efd56b357a3f66a72b3e0d7540116214db338 /fs/nfs/client.c | |
parent | 9c37066d888bf6e1b96ad12304971b3ddeabbad0 (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/nfs/client.c')
-rw-r--r-- | fs/nfs/client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index f2f3b284e6dd..0e066dcd4700 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
@@ -1500,7 +1500,7 @@ int __init nfs_fs_proc_init(void) | |||
1500 | { | 1500 | { |
1501 | struct proc_dir_entry *p; | 1501 | struct proc_dir_entry *p; |
1502 | 1502 | ||
1503 | proc_fs_nfs = proc_mkdir("nfsfs", proc_root_fs); | 1503 | proc_fs_nfs = proc_mkdir("fs/nfsfs", NULL); |
1504 | if (!proc_fs_nfs) | 1504 | if (!proc_fs_nfs) |
1505 | goto error_0; | 1505 | goto error_0; |
1506 | 1506 | ||
@@ -1526,7 +1526,7 @@ int __init nfs_fs_proc_init(void) | |||
1526 | error_2: | 1526 | error_2: |
1527 | remove_proc_entry("servers", proc_fs_nfs); | 1527 | remove_proc_entry("servers", proc_fs_nfs); |
1528 | error_1: | 1528 | error_1: |
1529 | remove_proc_entry("nfsfs", proc_root_fs); | 1529 | remove_proc_entry("fs/nfsfs", NULL); |
1530 | error_0: | 1530 | error_0: |
1531 | return -ENOMEM; | 1531 | return -ENOMEM; |
1532 | } | 1532 | } |
@@ -1538,7 +1538,7 @@ void nfs_fs_proc_exit(void) | |||
1538 | { | 1538 | { |
1539 | remove_proc_entry("volumes", proc_fs_nfs); | 1539 | remove_proc_entry("volumes", proc_fs_nfs); |
1540 | remove_proc_entry("servers", proc_fs_nfs); | 1540 | remove_proc_entry("servers", proc_fs_nfs); |
1541 | remove_proc_entry("nfsfs", proc_root_fs); | 1541 | remove_proc_entry("fs/nfsfs", NULL); |
1542 | } | 1542 | } |
1543 | 1543 | ||
1544 | #endif /* CONFIG_PROC_FS */ | 1544 | #endif /* CONFIG_PROC_FS */ |