From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964979AbVHSPKF (ORCPT ); Fri, 19 Aug 2005 11:10:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964967AbVHSPKB (ORCPT ); Fri, 19 Aug 2005 11:10:01 -0400 Received: from rgminet02.oracle.com ([148.87.122.31]:16786 "EHLO rgminet02.oracle.com") by vger.kernel.org with ESMTP id S964979AbVHSPKA (ORCPT ); Fri, 19 Aug 2005 11:10:00 -0400 Date: Fri, 19 Aug 2005 08:09:28 -0700 From: Joel Becker To: David Teigland , akpm@osdl.org, linux-kernel@vger.kernel.org, mark.fasheh@oracle.com Subject: Re: [PATCH] configfs: export config_group_find_obj Message-ID: <20050819150928.GC18991@ca-server1.us.oracle.com> Mail-Followup-To: David Teigland , akpm@osdl.org, linux-kernel@vger.kernel.org, mark.fasheh@oracle.com References: <20050818062602.GD10133@redhat.com> <20050818211749.GD22742@insight> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050818211749.GD22742@insight> User-Agent: Mutt/1.5.10i X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 18, 2005 at 02:17:49PM -0700, Joel Becker wrote: > On Thu, Aug 18, 2005 at 02:26:02PM +0800, David Teigland wrote: > > In the dlm I use config_group_find_obj() which isn't exported. > > Did you notice the /* XXX Locking */? Let me go see how you use > it, if it is the best way, we'll need to revisit the function and be > sure it's happy. Yeah, your usage is unsafe, but the fault lies with find_obj(). Needs fixing. Joel -- "Vote early and vote often." - Al Capone http://www.jlbec.org/ jlbec@evilplan.org