debugfs: propagate release() call result
authorEric Engestrom <eric.engestrom@imgtec.com>
Wed, 21 Sep 2016 09:27:36 +0000 (10:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Sep 2016 10:45:57 +0000 (12:45 +0200)
commita1a9e5d29854f69a881b4c1e6ac2d6b54f49dfc6
tree967a94df25b48881536e535964766d75365f3a6f
parent60ca5e0d280b1a51df55c5fc2e5bfe010b344c5a
debugfs: propagate release() call result

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