Re: [PATCH] debugfs: propagate release() call result

2016-09-21 Thread Greg Kroah-Hartman
On Wed, Sep 21, 2016 at 09:36:53AM +0100, Eric Engestrom wrote:
> Signed-off-by: Eric Engestrom 

Oops, I can't take patches without any changelog text at all.

Please fix up and resend.

thanks,

greg k-h


[PATCH] debugfs: propagate release() call result

2016-09-21 Thread Eric Engestrom
Signed-off-by: Eric Engestrom 
---
 fs/debugfs/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c
index 592059f..40e586f 100644
--- a/fs/debugfs/file.c
+++ b/fs/debugfs/file.c
@@ -209,7 +209,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,
-- 
Cheers,
  Eric