summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-04-15 13:56:11 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-29 15:41:47 -0400
commit7caf2184f264f70f76d88444e4199945041a2aca (patch)
tree29e0f5428fedd202568616ee7f5e8e20c0bc3f61
parent25643165c3e35cae633afe8926d49c4e558e63d2 (diff)
downloadop-kernel-dev-7caf2184f264f70f76d88444e4199945041a2aca.zip
op-kernel-dev-7caf2184f264f70f76d88444e4199945041a2aca.tar.gz
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 44225b1..59ba606 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;
}
OpenPOWER on IntegriCloud