diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-15 13:58:21 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-29 15:41:47 -0400 |
commit | 03feee373f05d5c500dd6198015de83005df902c (patch) | |
tree | d518b29ef7d186b41a2c836642f8d11b16858811 /drivers | |
parent | 7caf2184f264f70f76d88444e4199945041a2aca (diff) |
dvb_frontend: don't mess with ->f_op in ->release()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb-core/dvb_frontend.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index 6e50a7581568..73fc7fe00751 100644 --- a/drivers/media/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb-core/dvb_frontend.c | |||
@@ -2492,11 +2492,8 @@ static int dvb_frontend_release(struct inode *inode, struct file *file) | |||
2492 | 2492 | ||
2493 | if (dvbdev->users == -1) { | 2493 | if (dvbdev->users == -1) { |
2494 | wake_up(&fepriv->wait_queue); | 2494 | wake_up(&fepriv->wait_queue); |
2495 | if (fepriv->exit != DVB_FE_NO_EXIT) { | 2495 | if (fepriv->exit != DVB_FE_NO_EXIT) |
2496 | fops_put(file->f_op); | ||
2497 | file->f_op = NULL; | ||
2498 | wake_up(&dvbdev->wait_queue); | 2496 | wake_up(&dvbdev->wait_queue); |
2499 | } | ||
2500 | if (fe->ops.ts_bus_ctrl) | 2497 | if (fe->ops.ts_bus_ctrl) |
2501 | fe->ops.ts_bus_ctrl(fe, 0); | 2498 | fe->ops.ts_bus_ctrl(fe, 0); |
2502 | } | 2499 | } |