patch-2.2.0-pre7 linux/fs/proc/root.c
Next file: linux/fs/select.c
Previous file: linux/fs/proc/array.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Fri Jan 8 22:54:17 1999
- Orig file:
v2.2.0-pre6/linux/fs/proc/root.c
- Orig date:
Tue Dec 22 14:16:57 1998
diff -u --recursive --new-file v2.2.0-pre6/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -493,11 +493,6 @@
S_IFREG | S_IRUGO, 1, 0, 0,
0, &proc_array_inode_operations
};
-static struct proc_dir_entry proc_root_swapstats = {
- PROC_SWAPSTATS, 9, "swapstats",
- S_IFREG | S_IRUGO, 1, 0, 0,
- 0, &proc_array_inode_operations
-};
static struct proc_dir_entry proc_root_kmsg = {
PROC_KMSG, 4, "kmsg",
S_IFREG | S_IRUSR, 1, 0, 0,
@@ -653,7 +648,6 @@
proc_register(&proc_root, &proc_root_loadavg);
proc_register(&proc_root, &proc_root_uptime);
proc_register(&proc_root, &proc_root_meminfo);
- proc_register(&proc_root, &proc_root_swapstats);
proc_register(&proc_root, &proc_root_kmsg);
proc_register(&proc_root, &proc_root_version);
proc_register(&proc_root, &proc_root_cpuinfo);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov