Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932699Ab2EVCG3 (ORCPT ); Mon, 21 May 2012 22:06:29 -0400 Received: from 50-56-35-84.static.cloud-ips.com ([50.56.35.84]:53827 "EHLO mail.hallyn.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750896Ab2EVCG2 (ORCPT ); Mon, 21 May 2012 22:06:28 -0400 Date: Tue, 22 May 2012 02:08:57 +0000 From: "Serge E. Hallyn" To: "Serge E. Hallyn" Cc: Li Zefan , Serge Hallyn , containers@lists.linux-foundation.org, mtosatti@redhat.com, linux-kernel@vger.kernel.org, tj@kernel.org, cgroups@vger.kernel.org, Amos Kong Subject: Re: [PATCH] cgroup: fix device deny of DEV_ALL Message-ID: <20120522020857.GA10499@mail.hallyn.com> References: <20120518081912.16779.21065.stgit@t> <20120521140324.GA5091@sergelap> <4FBADF1A.6040303@huawei.com> <20120522015426.GA10344@mail.hallyn.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120522015426.GA10344@mail.hallyn.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: 586 Lines: 18 At line 135, there is if (walk->type == DEV_ALL) goto remove; I wonder if that was meant to be 'if (wh->type == DEV_ALL)'. That seems to fit better with what I would have meant to have happen. But it's already handled by line 342. So I think deleting lines 135-136 might be best. What do you think? Thanks again, Amos and Li. -serge -- 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/