diff options
author | Wanpeng Li <liwanp@linux.vnet.ibm.com> | 2013-04-02 10:46:17 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-02 12:55:37 -0700 |
commit | eee53d9218f3ae48244c12d29871862b49a8855d (patch) | |
tree | bb59f0d34c7e550529a9232c53e38174afb38fa0 | |
parent | 380cb19e40e23b407e4da811466c5c509c2abe93 (diff) |
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>
-rw-r--r-- | drivers/staging/zcache/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/zcache/debug.c b/drivers/staging/zcache/debug.c index 254dada16ea0..d2d1fdfd6ca4 100644 --- a/drivers/staging/zcache/debug.c +++ b/drivers/staging/zcache/debug.c @@ -31,8 +31,8 @@ static struct debug_entry { ATTR(eph_nonactive_puts_ignored), ATTR(pers_nonactive_puts_ignored), #ifdef CONFIG_ZCACHE_WRITEBACK - ATTR(zcache_outstanding_writeback_pages), - ATTR(zcache_writtenback_pages), + ATTR(outstanding_writeback_pages), + ATTR(writtenback_pages), #endif }; #undef ATTR |