diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-06-19 22:45:37 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-06-19 22:45:37 +0000 |
commit | 6d403070f28cd44860fdb3a53be5da0275c65cf4 (patch) | |
tree | 0d0e7fe7b5fb7568d19e11d7d862b77a866ce081 /net/netlink | |
parent | ecf1bf5f6c2e668d03b0a9fb026db7aa41e292e1 (diff) |
Merge with 2.4.0-test1-ac21 + pile of MIPS cleanups to make merging
possible. Chainsawed RM200 kernel to compile again. Jazz machine
status unknown.
Diffstat (limited to 'net/netlink')
-rw-r--r-- | net/netlink/netlink_dev.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/netlink/netlink_dev.c b/net/netlink/netlink_dev.c index d63e1f678..b0eb9788e 100644 --- a/net/netlink/netlink_dev.c +++ b/net/netlink/netlink_dev.c @@ -114,7 +114,6 @@ static int netlink_open(struct inode * inode, struct file * file) return -EBUSY; open_map |= (1<<minor); - MOD_INC_USE_COUNT; err = sock_create(PF_NETLINK, SOCK_RAW, minor, &sock); if (err < 0) @@ -133,7 +132,6 @@ static int netlink_open(struct inode * inode, struct file * file) out: open_map &= ~(1<<minor); - MOD_DEC_USE_COUNT; return err; } @@ -145,7 +143,6 @@ static int netlink_release(struct inode * inode, struct file * file) netlink_user[minor] = NULL; open_map &= ~(1<<minor); sock_release(sock); - MOD_DEC_USE_COUNT; return 0; } @@ -167,6 +164,7 @@ static int netlink_ioctl(struct inode *inode, struct file *file, static struct file_operations netlink_fops = { + owner: THIS_MODULE, llseek: netlink_lseek, read: netlink_read, write: netlink_write, |