Whamcloud - gitweb
LU-6142 lustre: remove ldebugfs_seq_create wrapper function 45/37745/5
authorMr NeilBrown <neilb@suse.de>
Thu, 27 Feb 2020 05:00:32 +0000 (16:00 +1100)
committerOleg Drokin <green@whamcloud.com>
Tue, 14 Apr 2020 08:09:27 +0000 (08:09 +0000)
commit8c42158936b57327bc2456af04a86c037be5446e
tree5a73ae0f8d2d52755e25c863cb4f0c6f4d9160c8
parentdd392dfbfb1a71423f18166a56e43d9234c739d7
LU-6142 lustre: remove ldebugfs_seq_create wrapper function

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: I7103ef2a44348f28b958730413e93e0878eba4d2
Reviewed-on: https://review.whamcloud.com/37745
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/fid/fid_handler.c
lustre/fld/fld_handler.c
lustre/include/lprocfs_status.h
lustre/llite/lproc_llite.c
lustre/mgs/lproc_mgs.c
lustre/obdclass/lprocfs_status.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/sec_lproc.c