Whamcloud - gitweb
LU-6142 lustre: remove remaining users of ldebugfs_register 43/37743/3
authorMr NeilBrown <neilb@suse.de>
Thu, 27 Feb 2020 04:28:50 +0000 (15:28 +1100)
committerOleg Drokin <green@whamcloud.com>
Tue, 24 Mar 2020 05:16:13 +0000 (05:16 +0000)
commit4dfe4a49ccab3d087c14c8b3d539061f9f7f4b75
treea2cbf105c867592a1fb1d0c3a78edfdabfcb1b5a
parente79cbe8f935d65e0abaef8c4e7a19ec4816f492b
LU-6142 lustre: remove remaining users of ldebugfs_register

ldebugfs_register() is just a call to debugfs_create_dir() and
ldebugfs_add_vars() if the list option is set.  Fix up the remaining
users of this function to just call these two functions instead, and
delete the now unused ldebugfs_register() call.

This ends up cleaning up more code and making things smaller, always a
good thing.

Linux-Commit 00905f006608 ("staging: lustre: remove last two
users of ldebugfs_register()")

Test-Parameters: trivial
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I08f4cdcdd3367f50c37d899a5dc4d753e72c0fda
Reviewed-on: https://review.whamcloud.com/37743
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
lustre/fld/fld_request.c
lustre/include/lprocfs_status.h
lustre/llite/lproc_llite.c
lustre/mdd/mdd_lproc.c
lustre/mdt/mdt_coordinator.c
lustre/obdclass/dt_object.c
lustre/obdclass/genops.c
lustre/obdclass/lprocfs_status.c
lustre/osp/lproc_osp.c
lustre/ptlrpc/gss/lproc_gss.c
lustre/ptlrpc/sec_lproc.c