Whamcloud - gitweb
LU-6142 lustre: remove ldebugfs_register_stats() wrapper 46/37746/6
authorMr NeilBrown <neilb@suse.de>
Thu, 27 Feb 2020 05:11:58 +0000 (16:11 +1100)
committerOleg Drokin <green@whamcloud.com>
Tue, 14 Apr 2020 08:09:31 +0000 (08:09 +0000)
commit0ff4dca9ceb2ecef8c3a03fc633b82b76bb67377
treece1c99cf18445915755d58147a1ca1ca4bdf8ea7
parent8c42158936b57327bc2456af04a86c037be5446e
LU-6142 lustre: remove ldebugfs_register_stats() wrapper

It was just calling debugfs_create_file() so unwind things and just
call the real function instead.  This ends up saving a number of lines
as there was never any error handling happening anyway, so that all
can be removed as well.

Test-Parameters: trivial
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I7e30139cc8e810ab4bc49ae9c298e6199c3f2942
Reviewed-on: https://review.whamcloud.com/37746
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
lustre/include/lprocfs_status.h
lustre/ldlm/ldlm_pool.c
lustre/llite/lproc_llite.c
lustre/obdclass/lprocfs_status.c
lustre/ptlrpc/lproc_ptlrpc.c