projects
/
GitHub
/
moto-9609
/
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:
60ca5e0
)
debugfs: propagate release() call result
author
Eric Engestrom
<eric.engestrom@imgtec.com>
Wed, 21 Sep 2016 09:27:36 +0000
(10:27 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 27 Sep 2016 10:45:57 +0000
(12:45 +0200)
The result was being ignored and 0 was always returned.
Return the actual result instead.
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/debugfs/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/debugfs/file.c
b/fs/debugfs/file.c
index 309f4e9b241990556311ae779baa565d1471d496..354e2ab620314e5a0eb994f1ff7dcc8d48c0df4b 100644
(file)
--- a/
fs/debugfs/file.c
+++ b/
fs/debugfs/file.c
@@
-206,7
+206,7
@@
static int full_proxy_release(struct inode *inode, struct file *filp)
replace_fops(filp, d_inode(dentry)->i_fop);
kfree((void *)proxy_fops);
fops_put(real_fops);
- return
0
;
+ return
r
;
}
static void __full_proxy_fops_init(struct file_operations *proxy_fops,