staging: lustre: make lnet_debugfs_symlink_def local to libcfs/modules.c
authorNeilBrown <neilb@suse.com>
Mon, 21 May 2018 04:35:12 +0000 (14:35 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 16:29:10 +0000 (18:29 +0200)
commitc4f907719736b720aa831447828809840e533371
tree4943ab7ffd6c27571bf7f0d5f7ce6f2e7e3eecca
parent1c36b6de6ae8dcc76d58caf589dee38a677683d3
staging: lustre: 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.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs.h
drivers/staging/lustre/lnet/libcfs/module.c
drivers/staging/lustre/lnet/lnet/router_proc.c