staging: lustre: ldlm: check all errors during ldlm_debugfs_setup()
authorDmitry Eremin <dmitry.eremin@intel.com>
Thu, 28 Apr 2016 01:37:13 +0000 (21:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 04:53:18 +0000 (21:53 -0700)
commit6956583961fbd837b381d64e48e67c64b147989a
treec06f3d9396920bf1fd81f0cb5d89529467b2b8f1
parent45fe5b139c46deb2bdd2752b7a42ce93fd56efc0
staging: lustre: ldlm: check all errors during ldlm_debugfs_setup()

Fix ignoring errors from ldebugfs_add_vars() function.

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3885
Reviewed-on: http://review.whamcloud.com/8115
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_resource.c