Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-11986 lnet: properly cleanup lnet debugfs files
[fs/lustre-release.git]
/
lnet
/
lnet
/
router_proc.c
diff --git
a/lnet/lnet/router_proc.c
b/lnet/lnet/router_proc.c
index
a839507
..
bbcc0fd
100644
(file)
--- a/
lnet/lnet/router_proc.c
+++ b/
lnet/lnet/router_proc.c
@@
-957,5
+957,10
@@
static struct ctl_table lnet_table[] = {
void lnet_router_debugfs_init(void)
{
- lnet_insert_debugfs(lnet_table, NULL);
+ lnet_insert_debugfs(lnet_table);
+}
+
+void lnet_router_debugfs_fini(void)
+{
+ lnet_remove_debugfs(lnet_table);
}