Skip to content
Snippets Groups Projects
Commit a1a9e5d2 authored by Eric Engestrom's avatar Eric Engestrom Committed by Greg Kroah-Hartman
Browse files

debugfs: propagate release() call result


The result was being ignored and 0 was always returned.
Return the actual result instead.

Signed-off-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 60ca5e0d
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment