From: Al Viro Date: Mon, 15 Apr 2013 17:58:21 +0000 (-0400) Subject: dvb_frontend: don't mess with ->f_op in ->release() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=03feee373f05d5c500dd6198015de83005df902c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git dvb_frontend: don't mess with ->f_op in ->release() Signed-off-by: Al Viro --- 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) if (dvbdev->users == -1) { wake_up(&fepriv->wait_queue); - if (fepriv->exit != DVB_FE_NO_EXIT) { - fops_put(file->f_op); - file->f_op = NULL; + if (fepriv->exit != DVB_FE_NO_EXIT) wake_up(&dvbdev->wait_queue); - } if (fe->ops.ts_bus_ctrl) fe->ops.ts_bus_ctrl(fe, 0); }