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

Next file: linux/fs/qnx4/Makefile
Previous file: linux/fs/proc/procfs_syms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -143,10 +143,7 @@
  * directory handling functions for that..
  */
 static struct file_operations proc_root_operations = {
-	NULL,			/* lseek - default */
-	NULL,			/* read - bad */
-	NULL,			/* write - bad */
-	proc_root_readdir,	/* readdir */
+	readdir: proc_root_readdir,
 };
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)