Return-Path: Date: Mon, 7 Jan 2008 09:22:56 +0000 From: Al Viro To: Tejun Heo Message-ID: <20080107092256.GX27894@ZenIV.linux.org.uk> References: <20080102151642.GA7273@boogie.lpds.sztaki.hu> <20080105075039.GF27894@ZenIV.linux.org.uk> <477F9481.2040505@gmail.com> <20080105194510.GK27894@ZenIV.linux.org.uk> <478037F8.8020103@gmail.com> <47819079.3000606@gmail.com> <4781EE20.6070701@gmail.com> <4781EE5D.1000105@gmail.com> Mime-Version: 1.0 In-Reply-To: <4781EE5D.1000105@gmail.com> Cc: Gabor Gombas , Greg KH , linux-kernel@vger.kernel.org, bluez-devel@lists.sourceforge.net, "Eric W. Biederman" Subject: Re: [Bluez-devel] Oops involving RFCOMM and sysfs Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net On Mon, Jan 07, 2008 at 06:18:21PM +0900, Tejun Heo wrote: > Tejun Heo wrote: > > Eric W. Biederman wrote: > >>> That said, the mechanism is a bit too fragile. sysfs currently ensures > >>> that dentry/inode point to the associated sysfs_dirent. This is mainly > >>> remanent of conversion from previous VFS based implementation. I think > >>> the right thing to do here is to make sysfs behave like other proper > >>> distributed filesystems using d_revalidate. > >> Huh? We still need something like sysfs_get_dentry to find the dentries > >> for the rename or move operation. So we can call d_move. > > > > Ah... right. Thanks. :-) > > On the second thought, can't those too be dealt with d_revalidate? FVO "dealt with" as pleasant and efficient as using coarse whetstone to deal with caries. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel