From 2283e3094fcc4a32020b327acd95dc7c656e673e Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 19 Oct 2005 18:23:21 +0000 Subject: [PATCH] Branch b_hd_newconfig b=8080 add symlink from /proc/sys/portals to /proc/sys/lnet for old failover scripts --- lnet/libcfs/linux/linux-proc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lnet/libcfs/linux/linux-proc.c b/lnet/libcfs/linux/linux-proc.c index ce755cc..f16aa25 100644 --- a/lnet/libcfs/linux/linux-proc.c +++ b/lnet/libcfs/linux/linux-proc.c @@ -282,6 +282,8 @@ int insert_proc(void) ent->write_proc = trace_write_debug_mb; ent->read_proc = trace_read_debug_mb; + proc_symlink("sys/portals", NULL, "/proc/sys/lnet"); + return 0; } @@ -303,6 +305,7 @@ void remove_proc(void) remove_proc_entry(dir, 0); #endif /* PORTALS_PROFILING */ + remove_proc_entry("sys/portals", NULL); remove_proc_entry("sys/lnet/dump_kernel", NULL); remove_proc_entry("sys/lnet/daemon_file", NULL); remove_proc_entry("sys/lnet/debug_mb", NULL); -- 1.8.3.1