Whamcloud - gitweb
LU-6142 lustre: make ldebugfs_add_vars a void function 44/37744/6
authorMr NeilBrown <neilb@suse.de>
Thu, 27 Feb 2020 04:43:57 +0000 (15:43 +1100)
committerOleg Drokin <green@whamcloud.com>
Tue, 14 Apr 2020 08:09:24 +0000 (08:09 +0000)
commitdd392dfbfb1a71423f18166a56e43d9234c739d7
tree3d27320430c1a07b4be28ba7f1925108f6e0415d
parentd720fbaadad9343a481863ae3b04ba580541328d
LU-6142 lustre: make ldebugfs_add_vars a void function

The call to ldebugfs_add_vars() can not really fail, so have it just
return nothing, which allows us to clean up a lot of unused error
handling code.

Linux-Commit d5bf5cf9e150 ("staging: lustre: make ldebugfs_add_vars a
void function")

Test-Parameters: trivial
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I338c573fe5cb7dbd3595247f5c3647f5c1bf949b
Reviewed-on: https://review.whamcloud.com/37744
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>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
17 files changed:
lustre/fid/fid_handler.c
lustre/fid/fid_request.c
lustre/fld/fld_request.c
lustre/include/lprocfs_status.h
lustre/include/lustre_fid.h
lustre/ldlm/ldlm_resource.c
lustre/lfsck/lfsck_lib.c
lustre/mdt/mdt_handler.c
lustre/obdclass/lprocfs_status.c
lustre/obdecho/echo_client.c
lustre/ofd/ofd_dev.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-zfs/osd_handler.c
lustre/ptlrpc/nrs_crr.c
lustre/ptlrpc/nrs_delay.c
lustre/ptlrpc/nrs_orr.c
lustre/ptlrpc/nrs_tbf.c