summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-04-15 19:56:11 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-29 21:41:47 +0200
commit7caf2184f264f70f76d88444e4199945041a2aca (patch)
tree29e0f5428fedd202568616ee7f5e8e20c0bc3f61
parentlis3lv02d: don't wank with fasync() on ->release() (diff)
downloadlinux-7caf2184f264f70f76d88444e4199945041a2aca.tar.xz
linux-7caf2184f264f70f76d88444e4199945041a2aca.zip
dvb_net: don't mess with ->f_op in ->release()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--drivers/media/dvb-core/dvb_net.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/dvb-core/dvb_net.c b/drivers/media/dvb-core/dvb_net.c
index 44225b186f6d..59ba60659a3e 100644
--- a/drivers/media/dvb-core/dvb_net.c
+++ b/drivers/media/dvb-core/dvb_net.c
@@ -1479,11 +1479,8 @@ static int dvb_net_close(struct inode *inode, struct file *file)
dvb_generic_release(inode, file);
- if(dvbdev->users == 1 && dvbnet->exit == 1) {
- fops_put(file->f_op);
- file->f_op = NULL;
+ if(dvbdev->users == 1 && dvbnet->exit == 1)
wake_up(&dvbdev->wait_queue);
- }
return 0;
}