Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757331Ab3DOCuP (ORCPT ); Sun, 14 Apr 2013 22:50:15 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:10027 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753655Ab3DOCuN (ORCPT ); Sun, 14 Apr 2013 22:50:13 -0400 Message-ID: <516B6AAB.8010507@huawei.com> Date: Mon, 15 Apr 2013 10:49:15 +0800 From: Li Zefan User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Tejun Heo CC: , , , , , , Subject: Re: [PATCH 3/4] cgroup: introduce sane_behavior mount option References: <1365808259-31073-1-git-send-email-tj@kernel.org> <1365808259-31073-4-git-send-email-tj@kernel.org> In-Reply-To: <1365808259-31073-4-git-send-email-tj@kernel.org> Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.135.68.215] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 444 Lines: 14 > { > + .name = "cgroup.sane_behavior", > + .flags = CFTYPE_ONLY_ON_ROOT, > + .read_seq_string = cgroup_sane_behavior_show, > + .mode = S_IRUGO, > + }, We don't have to set .mode explicitly. -- 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/