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

Next file: linux/fs/proc/proc_misc.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.47/linux/fs/proc/kmsg.c linux/fs/proc/kmsg.c
@@ -45,13 +45,9 @@
 }
 
 
-static struct file_operations proc_kmsg_operations = {
+struct file_operations proc_kmsg_operations = {
 	read:		kmsg_read,
 	poll:		kmsg_poll,
 	open:		kmsg_open,
 	release:	kmsg_release,
-};
-
-struct inode_operations proc_kmsg_inode_operations = {
-	&proc_kmsg_operations,	/* default base directory file-ops */
 };

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