From: Wanpeng Li Date: Tue, 2 Apr 2013 02:46:16 +0000 (+0800) Subject: staging: zcache: fix pers_pageframes|_max aren't exported in debugfs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=380cb19e40e23b407e4da811466c5c509c2abe93;p=openwrt%2Fstaging%2Fblogic.git staging: zcache: fix pers_pageframes|_max aren't exported in debugfs Before commit 9c0ad59ef ("zcache/debug: Use an array to initialize/use debugfs attributes"), pers_pageframes|_max are exported in debugfs, but this commit forgot use array export pers_pageframes|_max. This patch add pers_pageframes|_max back. Signed-off-by: Wanpeng Li Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/zcache/debug.c b/drivers/staging/zcache/debug.c index e951c64a13dc..254dada16ea0 100644 --- a/drivers/staging/zcache/debug.c +++ b/drivers/staging/zcache/debug.c @@ -21,6 +21,7 @@ static struct debug_entry { ATTR(pers_ate_eph), ATTR(pers_ate_eph_failed), ATTR(evicted_eph_zpages), ATTR(evicted_eph_pageframes), ATTR(eph_pageframes), ATTR(eph_pageframes_max), + ATTR(pers_pageframes), ATTR(pers_pageframes_max), ATTR(eph_zpages), ATTR(eph_zpages_max), ATTR(pers_zpages), ATTR(pers_zpages_max), ATTR(last_active_file_pageframes),