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

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

diff -u --recursive --new-file v2.3.42/linux/fs/proc/kcore.c linux/fs/proc/kcore.c
@@ -27,14 +27,8 @@
 static ssize_t read_kcore(struct file *, char *, size_t, loff_t *);
 
 static struct file_operations proc_kcore_operations = {
-	NULL,           /* lseek */
-	read_kcore,
-	NULL,		/* write */
-	NULL,		/* readdir */
-	NULL,		/* poll */
-	NULL,		/* ioctl */
-	NULL,		/* mmap */
-	open_kcore
+	read:		read_kcore,
+	open:		open_kcore,
 };
 
 struct inode_operations proc_kcore_inode_operations = {

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