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

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

diff -u --recursive --new-file v2.3.42/linux/fs/proc/kmsg.c linux/fs/proc/kmsg.c
@@ -46,17 +46,10 @@
 
 
 static struct file_operations proc_kmsg_operations = {
-	NULL,		/* kmsg_lseek */
-	kmsg_read,
-	NULL,		/* kmsg_write */
-	NULL,		/* kmsg_readdir */
-	kmsg_poll,	/* kmsg_poll */
-	NULL,		/* kmsg_ioctl */
-	NULL,		/* mmap */
-	kmsg_open,
-	NULL,		/* flush */
-	kmsg_release,
-	NULL		/* can't fsync */
+	read:		kmsg_read,
+	poll:		kmsg_poll,
+	open:		kmsg_open,
+	release:	kmsg_release,
 };
 
 struct inode_operations proc_kmsg_inode_operations = {

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