patch-2.3.43 linux/net/netlink/netlink_dev.c

Next file: linux/net/netsyms.c
Previous file: linux/net/khttpd/userspace.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/net/netlink/netlink_dev.c linux/net/netlink/netlink_dev.c
@@ -166,16 +166,13 @@
 
 
 static struct file_operations netlink_fops = {
-	netlink_lseek,
-	netlink_read,
-	netlink_write,
-	NULL,		/* netlink_readdir */
-	netlink_poll,
-	netlink_ioctl,
-	NULL,		/* netlink_mmap */
-	netlink_open,
-	NULL,		/* flush */
-	netlink_release
+	llseek:		netlink_lseek,
+	read:		netlink_read,
+	write:		netlink_write,
+	poll:		netlink_poll,
+	ioctl:		netlink_ioctl,
+	open:		netlink_open,
+	release:	netlink_release,
 };
 
 int __init init_netlink(void)

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