提交 7caf2184 编写于 作者: A Al Viro

dvb_net: don't mess with ->f_op in ->release()

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 25643165
...@@ -1479,11 +1479,8 @@ static int dvb_net_close(struct inode *inode, struct file *file) ...@@ -1479,11 +1479,8 @@ static int dvb_net_close(struct inode *inode, struct file *file)
dvb_generic_release(inode, file); dvb_generic_release(inode, file);
if(dvbdev->users == 1 && dvbnet->exit == 1) { if(dvbdev->users == 1 && dvbnet->exit == 1)
fops_put(file->f_op);
file->f_op = NULL;
wake_up(&dvbdev->wait_queue); wake_up(&dvbdev->wait_queue);
}
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册