aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-10-04 06:08:37 -0400
committerAlexey Dobriyan <adobriyan@gmail.com>2008-10-23 06:27:09 -0400
commit6827400713fa22312ca3b4f47b0e64871c88040c (patch)
treea42a02ce68671443576482c5e38bd42735383579 /fs/proc
parent4c150f6c30f5129bbce5c41568a285b1f7ca8d8b (diff)
proc: move /proc/filesystems to fs/filesystems.c
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'fs/proc')
-rw-r--r--fs/proc/proc_misc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c
index ec37d3aeaf19..9fa20f157cf3 100644
--- a/fs/proc/proc_misc.c
+++ b/fs/proc/proc_misc.c
@@ -472,13 +472,6 @@ static const struct file_operations proc_interrupts_operations = {
472 .release = seq_release, 472 .release = seq_release,
473}; 473};
474 474
475static int filesystems_read_proc(char *page, char **start, off_t off,
476 int count, int *eof, void *data)
477{
478 int len = get_filesystem_list(page);
479 return proc_calc_metrics(page, start, off, count, eof, len);
480}
481
482static int cmdline_read_proc(char *page, char **start, off_t off, 475static int cmdline_read_proc(char *page, char **start, off_t off,
483 int count, int *eof, void *data) 476 int count, int *eof, void *data)
484{ 477{
@@ -648,7 +641,6 @@ void __init proc_misc_init(void)
648 char *name; 641 char *name;
649 int (*read_proc)(char*,char**,off_t,int,int*,void*); 642 int (*read_proc)(char*,char**,off_t,int,int*,void*);
650 } *p, simple_ones[] = { 643 } *p, simple_ones[] = {
651 {"filesystems", filesystems_read_proc},
652 {"cmdline", cmdline_read_proc}, 644 {"cmdline", cmdline_read_proc},
653 {"execdomains", execdomains_read_proc}, 645 {"execdomains", execdomains_read_proc},
654 {NULL,} 646 {NULL,}