patch-2.1.31 linux/net/netlink.c

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

diff -u --recursive --new-file v2.1.30/linux/net/netlink.c linux/net/netlink.c
@@ -151,12 +151,13 @@
 	return -EUNATCH;
 }
 
-static void netlink_release(struct inode * inode, struct file * file)
+static int netlink_release(struct inode * inode, struct file * file)
 {
 	unsigned int minor = MINOR(inode->i_rdev);
 	if (file->f_mode & FMODE_READ)
 		open_map&=~(1<<minor);
 	MOD_DEC_USE_COUNT;
+	return 0;
 }
 
 
@@ -462,7 +463,7 @@
 
 int init_module(void)
 {
-	printk(KERN_INFO "Network Kernel/User communications module 0.04\n");
+	printk(KERN_INFO "Network Kernel/User communications module 0.05\n");
 	return init_netlink();
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov