projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2564316
)
dvb_net: don't mess with ->f_op in ->release()
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 15 Apr 2013 17:56:11 +0000
(13:56 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 29 Apr 2013 19:41:47 +0000
(15:41 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/media/dvb-core/dvb_net.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/dvb-core/dvb_net.c
b/drivers/media/dvb-core/dvb_net.c
index 44225b186f6df4a42945a8f9998361558d470451..59ba60659a3e7b38f182bdcdc581fbb58855af75 100644
(file)
--- 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;
}