Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760040Ab3DBCqu (ORCPT ); Mon, 1 Apr 2013 22:46:50 -0400 Received: from e23smtp03.au.ibm.com ([202.81.31.145]:53006 "EHLO e23smtp03.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760010Ab3DBCqp (ORCPT ); Mon, 1 Apr 2013 22:46:45 -0400 From: Wanpeng Li To: Greg Kroah-Hartman Cc: Andrew Morton , Dan Magenheimer , Seth Jennings , Konrad Rzeszutek Wilk , Minchan Kim , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Fengguang Wu , Wanpeng Li Subject: [PATCH v5 5/8] staging: zcache: fix zcache writeback in debugfs Date: Tue, 2 Apr 2013 10:46:17 +0800 Message-Id: <1364870780-16296-6-git-send-email-liwanp@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1364870780-16296-1-git-send-email-liwanp@linux.vnet.ibm.com> References: <1364870780-16296-1-git-send-email-liwanp@linux.vnet.ibm.com> X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13040202-6102-0000-0000-0000033F8C6E Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1353 Lines: 35 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 --- 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 254dada..d2d1fdf 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 -- 1.7.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/