Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759455AbZCBCOd (ORCPT ); Sun, 1 Mar 2009 21:14:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759263AbZCBCN7 (ORCPT ); Sun, 1 Mar 2009 21:13:59 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:49202 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1759253AbZCBCN6 (ORCPT ); Sun, 1 Mar 2009 21:13:58 -0500 Message-ID: <49AB4118.2040004@cn.fujitsu.com> Date: Mon, 02 Mar 2009 10:14:48 +0800 From: Li Zefan User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Andrew Morton CC: Paul Menage , KAMEZAWA Hiroyuki , LKML , Linux Containers , Balbir Singh Subject: [PATCH 2/4] cpuacct: show correct file mode References: <49AB40BF.4030706@cn.fujitsu.com> In-Reply-To: <49AB40BF.4030706@cn.fujitsu.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 699 Lines: 25 cpuacct.usage_percpu is read-only. Signed-off-by: Li Zefan --- kernel/sched.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/sched.c b/kernel/sched.c index e66f009..638aa4d 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -9734,6 +9734,7 @@ static struct cftype files[] = { { .name = "usage_percpu", .read_seq_string = cpuacct_percpu_seq_read, + .mode = 0444, }, }; -- 1.5.4.rc3 -- 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/