staging: zcache: fix zcache writeback in debugfs
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Tue, 2 Apr 2013 02:46:17 +0000 (10:46 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Apr 2013 19:55:37 +0000 (12:55 -0700)
commiteee53d9218f3ae48244c12d29871862b49a8855d
treebb59f0d34c7e550529a9232c53e38174afb38fa0
parent380cb19e40e23b407e4da811466c5c509c2abe93
staging: zcache: fix zcache writeback in debugfs

commit 9c0ad59ef ("zcache/debug: Use an array to initialize/use debugfs attributes")
use an array to initialize/use debugfs attributes, .name = #x, .val = &zcache_##x.
For zcache writeback, this commit set .name = zcache_outstanding_writeback_pages and
.name = zcache_writtenback_pages seperately, however, corresponding .val =
&zcache_zcache_outstanding_writeback_pages and .val = &zcache_zcache_writtenback_pages,
which are not correct.

Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zcache/debug.c