staging/lustre/libcfs: Remove redundant lnet debugfs variables
/proc/sys/lnet/console_ratelimit, debug_path and panic_on_lbug are module parameters with no special magic accessible via /sys/module/libcfs/parameters/libcfs_console_ratelimit, /sys/module/libcfs/parameters/libcfs_debug_file_path and /sys/module/libcfs/parameters/libcfs_panic_on_lbug respectively. As such just replace them with corresponding symlinks Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0871d551af
commit
1b4d97b6c6
1 changed files with 0 additions and 22 deletions
|
@ -802,13 +802,6 @@ static struct ctl_table lnet_table[] = {
|
||||||
.mode = 0644,
|
.mode = 0644,
|
||||||
.proc_handler = &proc_dobitmasks,
|
.proc_handler = &proc_dobitmasks,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
.procname = "console_ratelimit",
|
|
||||||
.data = &libcfs_console_ratelimit,
|
|
||||||
.maxlen = sizeof(int),
|
|
||||||
.mode = 0644,
|
|
||||||
.proc_handler = &proc_dointvec
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
.procname = "console_max_delay_centisecs",
|
.procname = "console_max_delay_centisecs",
|
||||||
.maxlen = sizeof(int),
|
.maxlen = sizeof(int),
|
||||||
|
@ -828,14 +821,6 @@ static struct ctl_table lnet_table[] = {
|
||||||
.proc_handler = &proc_console_backoff
|
.proc_handler = &proc_console_backoff
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
.procname = "debug_path",
|
|
||||||
.data = libcfs_debug_file_path_arr,
|
|
||||||
.maxlen = sizeof(libcfs_debug_file_path_arr),
|
|
||||||
.mode = 0644,
|
|
||||||
.proc_handler = &proc_dostring,
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{
|
||||||
.procname = "cpu_partition_table",
|
.procname = "cpu_partition_table",
|
||||||
.maxlen = 128,
|
.maxlen = 128,
|
||||||
|
@ -871,13 +856,6 @@ static struct ctl_table lnet_table[] = {
|
||||||
.mode = 0444,
|
.mode = 0444,
|
||||||
.proc_handler = &proc_dointvec,
|
.proc_handler = &proc_dointvec,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
.procname = "panic_on_lbug",
|
|
||||||
.data = &libcfs_panic_on_lbug,
|
|
||||||
.maxlen = sizeof(int),
|
|
||||||
.mode = 0644,
|
|
||||||
.proc_handler = &proc_dointvec,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
.procname = "dump_kernel",
|
.procname = "dump_kernel",
|
||||||
.maxlen = 256,
|
.maxlen = 256,
|
||||||
|
|
Loading…
Add table
Reference in a new issue