staging/lustre/libcfs: get rid of debugfs/lnet/debug_mb
authorOleg Drokin <green@linuxhacker.ru>
Tue, 14 Jul 2015 03:17:54 +0000 (23:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jul 2015 03:52:54 +0000 (20:52 -0700)
commit8dc08446d0671709bdec9e037845b014e33663b1
treee8d8c5f8100fa5a96d1a8f7456a0afbcdad4e50b
parent3e9f88e68801fe7f862d7ab57041a68f91ce9b5a
staging/lustre/libcfs: get rid of debugfs/lnet/debug_mb

It's just a fancy libcfs_debug_mb module parameter wrapper,
so just add debug buffer size check and resizing and the same
functionality now would be accessible via
/sys/module/libcfs/parameters/libcfs_debug_mb

Also add a symlink for backwards compatibility.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/debug.c
drivers/staging/lustre/lustre/libcfs/module.c
drivers/staging/lustre/lustre/libcfs/tracefile.c
drivers/staging/lustre/lustre/libcfs/tracefile.h