Whamcloud - gitweb
LU-9859 libcfs: make lnet_debugfs_symlink_def local to libcfs/modules.c 32/44332/2
authorMr. NeilBrown <neilb@suse.de>
Fri, 16 Jul 2021 12:24:10 +0000 (08:24 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 27 Jul 2021 21:38:28 +0000 (21:38 +0000)
commit592d9a737bc19fbf0d3419ede32068cf8bf7677e
treecceb73fcaafcb493433bdbdbcb4230b7db801789
parent4b52ea1d30b45900787271c4c035fad124abf34a
LU-9859 libcfs: make lnet_debugfs_symlink_def local to libcfs/modules.c

This type is only used in libcfs/module.c, so make it local to there.
If any other module ever wanted to add its own symlinks,
it would probably be easiest to export lnet_debugfs_root
and just call debugfs_create_symlink as required.

Linux-commit: c4f907719736b720aa831447828809840e533371

Test-Parameters: trivial
Change-Id: I08221cfc781735451a292ba20cd35b9172fc20f2
Signed-off-by: Mr. NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-on: https://review.whamcloud.com/44332
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
libcfs/include/libcfs/libcfs.h
libcfs/libcfs/module.c