patch-1.3.17 linux/fs/proc/base.c

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

diff -u --recursive --new-file v1.3.16/linux/fs/proc/base.c linux/fs/proc/base.c
@@ -51,18 +51,18 @@
 };
 
 static struct proc_dir_entry base_dir[] = {
-	{ PROC_PID_INO,		1, "." },
-	{ PROC_ROOT_INO,	2, ".." },
-	{ PROC_PID_MEM,		3, "mem" },
-	{ PROC_PID_CWD,		3, "cwd" },
-	{ PROC_PID_ROOT,	4, "root" },
-	{ PROC_PID_EXE,		3, "exe" },
-	{ PROC_PID_FD,		2, "fd" },
-	{ PROC_PID_ENVIRON,	7, "environ" },
-	{ PROC_PID_CMDLINE,	7, "cmdline" },
-	{ PROC_PID_STAT,	4, "stat" },
-	{ PROC_PID_STATM,	5, "statm" },
-	{ PROC_PID_MAPS,	4, "maps" }
+	{ PROC_PID_INO,		NULL,	1, "." },
+	{ PROC_ROOT_INO,	NULL,	2, ".." },
+	{ PROC_PID_MEM,		NULL,	3, "mem" },
+	{ PROC_PID_CWD,		NULL,	3, "cwd" },
+	{ PROC_PID_ROOT,	NULL,	4, "root" },
+	{ PROC_PID_EXE,		NULL,	3, "exe" },
+	{ PROC_PID_FD,		NULL,	2, "fd" },
+	{ PROC_PID_ENVIRON,	NULL,	7, "environ" },
+	{ PROC_PID_CMDLINE,	NULL,	7, "cmdline" },
+	{ PROC_PID_STAT,	NULL,	4, "stat" },
+	{ PROC_PID_STATM,	NULL,	5, "statm" },
+	{ PROC_PID_MAPS,	NULL,	4, "maps" }
 };
 
 #define NR_BASE_DIRENTRY ((sizeof (base_dir))/(sizeof (base_dir[0])))

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