Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757538Ab2ENScZ (ORCPT ); Mon, 14 May 2012 14:32:25 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:51611 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757477Ab2ENScX (ORCPT ); Mon, 14 May 2012 14:32:23 -0400 Date: Mon, 14 May 2012 11:32:19 -0700 From: Tejun Heo To: KAMEZAWA Hiroyuki Cc: "linux-mm@kvack.org" , "cgroups@vger.kernel.org" , Michal Hocko , Johannes Weiner , Frederic Weisbecker , Han Ying , Glauber Costa , "Aneesh Kumar K.V" , Andrew Morton , Hiroyuki Kamezawa , Linux Kernel Subject: Re: [PATCH v3 1/6] memcg: fix error code in hugetlb_force_memcg_empty() Message-ID: <20120514183219.GG2366@google.com> References: <4FACDED0.3020400@jp.fujitsu.com> <4FACDFAE.5050808@jp.fujitsu.com> <20120514181556.GE2366@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120514181556.GE2366@google.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 883 Lines: 26 On Mon, May 14, 2012 at 11:15:56AM -0700, Tejun Heo wrote: > On Fri, May 11, 2012 at 06:45:18PM +0900, KAMEZAWA Hiroyuki wrote: > > - if (cgroup_task_count(cgroup) || !list_empty(&cgroup->children)) > > + if (cgroup_task_count(cgroup) > > + || !list_empty(&cgroup->children)) { > > + ret = -EBUSY; > > goto out; > > Why break the line? It doesn't go over 80 col. Ooh, it does. Sorry, my bad. But still, isn't it more usual to leave the operator in the preceding line and align the start of the second line with the first? ie. if (cgroup_task_count(cgroup) || !list_empty(&cgroup->children)) { Thanks. -- tejun -- 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/