提交 3dce1891 编写于 作者: A Al Viro

yurex: don't wank with fasync on ->release()...

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 f269cad7
......@@ -407,8 +407,6 @@ static int yurex_release(struct inode *inode, struct file *file)
if (dev == NULL)
return -ENODEV;
yurex_fasync(-1, file, 0);
/* decrement the count on our device */
kref_put(&dev->kref, yurex_delete);
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册