patch-1.3.28 linux/fs/proc/root.c

Next file: linux/fs/proc/scsi.c
Previous file: linux/fs/proc/link.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.27/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -129,8 +129,7 @@
 	S_IFDIR | S_IRUGO | S_IXUGO, 2, 0, 0,
 	0, &proc_dir_inode_operations,
 	NULL, NULL,
-	NULL,
-	&proc_root, NULL
+	NULL, &proc_root, NULL
 };
 
 int proc_register(struct proc_dir_entry * dir, struct proc_dir_entry * dp)
@@ -249,7 +248,9 @@
 		64, &proc_self_inode_operations,
 	});
 	proc_register(&proc_root, &proc_net);
+
 	proc_register(&proc_root, &proc_scsi);
+
 #ifdef CONFIG_DEBUG_MALLOC
 	proc_register(&proc_root, &(struct proc_dir_entry) {
 		PROC_MALLOC, 6, "malloc",

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this