Skip to content

Commit 59c7572

Browse files
author
Alexey Dobriyan
committed
proc: remove fs/proc/proc_misc.c
Now that everything was moved to their more or less expected places, apply rm(1). Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
1 parent 5aa140c commit 59c7572

4 files changed

Lines changed: 2 additions & 68 deletions

File tree

‎fs/proc/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ proc-y := nommu.o task_nommu.o
88
proc-$(CONFIG_MMU) := mmu.o task_mmu.o
99

1010
proc-y += inode.o root.o base.o generic.o array.o \
11-
proc_tty.o proc_misc.o
11+
proc_tty.o
1212
proc-y += cmdline.o
1313
proc-y += cpuinfo.o
1414
proc-y += devices.o

‎fs/proc/proc_misc.c‎

Lines changed: 0 additions & 65 deletions
This file was deleted.

‎fs/proc/root.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ void __init proc_root_init(void)
117117
return;
118118
}
119119

120-
proc_misc_init();
120+
proc_symlink("mounts", NULL, "self/mounts");
121121

122122
proc_net_init();
123123

‎include/linux/proc_fs.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ struct vmcore {
100100
extern spinlock_t proc_subdir_lock;
101101

102102
extern void proc_root_init(void);
103-
extern void proc_misc_init(void);
104103

105104
void proc_flush_task(struct task_struct *task);
106105
struct dentry *proc_pid_lookup(struct inode *dir, struct dentry * dentry, struct nameidata *);

0 commit comments

Comments
 (0)